Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
shree909
Partner - Specialist II
Partner - Specialist II

converting scientific notation 1.30508E+11 to a text

Hi ,

I am having issue in converting the (1.30508E+11) into a number.

i tried using the  number format in the list box still this is not changing.

could someone look into this?

Thanks

12 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

=Num(1.30508E+11, '#,##0')

Regards,

Jagan.

sundarakumar
Specialist II
Specialist II

Hi,

num(1.30508E,'###') is working,

u can use it in the edit script itself.

-Sundar

hic
Former Employee
Former Employee

If it is not changing, I would suspect that the number isn't interpreted correctly. Is it right-aligned or left-aligned when you put it in a list-box?

If it is left-aligned, then it is not interpreted and you will need to use an interpretation function:

     Num#('1.30508E+11','#', '.', ',')

HIC

aveeeeeee7en
Specialist III
Specialist III

Hi Shree

Try this:

Num(1.30508E+11,'###########,###')

or 

Num(Your Number Field,'###########,###')

You will get the Number as a Result

Regards

Aviral Nag

amit_saini
Master III
Master III

Hi Shree,

Please try this:

Num(Your_Field,'##.##')  (Upto 2 decimal place, you can modify this as per your requirement)

Thanks,

AS

shree909
Partner - Specialist II
Partner - Specialist II
Author

Thanks for the reply.

i tried but its not working, actually '1.30508E+11' to  represented as a number( transaction number) ' i dont need any comma, or decimal separators..

please find the attachment, its a transaction number

example : 1.30604E+11 should be interpreted as  130604002402

Please find the attached document qvw..

SunilChauhan
Champion II
Champion II

see the attched file

hope this helps

Sunil Chauhan
shree909
Partner - Specialist II
Partner - Specialist II
Author

Thanks for the quick response ,the thing is its appending all the zeros that shouldn't happen it has to be a number..or text.

example : 1.30604E+11 should be interpreted as  130604002402

aveeeeeee7en
Specialist III
Specialist III

Try this in your Edit Script:

LOAD * INLINE [
F1

    1.31E+11

    1.10E+11

    1.30E+11

    1.10E+11

    1.10E+11

    1.11E+11

    1.10E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30515E+11

    1.30606E+11

    1.30607E+11

    1.30604E+11

    1.30418E+11

    1.30606E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30606E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.10203E+11

    1.30605E+11

    1.30509E+11

    1.30509E+11

    1.10208E+11

    1.30517E+11

    1.10209E+11

    1.10202E+11

    1.30517E+11

    1.11006E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30605E+11

    1.30604E+11

    1.30607E+11

    1.30607E+11

    1.3051E+11

    1.30607E+11

    1.30606E+11

    1.30606E+11

    1.30607E+11

    1.3051E+11

    1.30604E+11

    1.30607E+11

    1.30604E+11

    1.30605E+11

    1.30607E+11

    1.30605E+11

    1.30604E+11

    1.30604E+11

    1.30501E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30604E+11

    1.30607E+11

    1.30607E+11

    1.30517E+11

    1.30607E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.21E+11

    1.30E+11

    1.30E+11

    1.30322E+11

    1.30604E+11

    1.30607E+11

    1.30607E+11

    1.30325E+11

    1.21105E+11

    1.30607E+11

    1.30423E+11

    1.30426E+11

    1.30513E+11

    1.30607E+11
130614T50080

    1.30605E+11

    1.30212E+11

    1.30321E+11

    1.30305E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30607E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30606E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30606E+11

    1.30604E+11

    1.30606E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30604E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30604E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30605E+11

    1.30606E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30606E+11

    1.30607E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    130614T50103

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30604E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30606E+11

    1.30607E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30606E+11

    1.30606E+11

    1.30607E+11

    1.30606E+11

    1.30607E+11

    1.3052E+11

    1.30517E+11

    1.30607E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30605E+11

    1.30607E+11

    1.30517E+11

    1.30605E+11

    1.30607E+11

    1.30409E+11

    130614T50111

    1.30606E+11

    1.30604E+11

    1.30604E+11

    1.30607E+11

    1.30607E+11

    1.30607E+11

    1.30606E+11

    1.30514E+11

    1.30521E+11

    1.30607E+11

    1.30604E+11

    130614T50082

    130611464651AA

    130611464716AA

    130605161489AA

    130605159999AA

    130605174351AA

    130605174378AA

    130605154245AA

    130605159964AA

    130605141658AA

    130605160041AA

    130611464686AA

    130611464813AA

    130611464759AA

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30604E+11

    1.30E+11

    1.30E+11

    1.30E+11

    1.30607E+11

]
;



BBBB:

NoConcatenate

Load

RowNo() AS RowNo,

Num(F1,'##############')  AS [Transaction Number]



Resident ABCD;

Drop Table ABCD;