Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
qvhjenvo
Contributor
Contributor

Format a number

Hi,

I have a number for ex. 4,535910775293e-014

I want to format the number to for ex. 0,05. How?

Someone helps me!

Loi

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=NUM($(expUSDEksponeringTeller)/$(expBeløpNyePoliser)*POW(10,12),'#,##')

Update :

or

OR

=NUM($(expUSDEksponeringTeller)/$(expBeløpNyePoliser)*POW(10,RIGHT(SubField($(expUSDEksponeringTeller)/$(expBeløpNyePoliser),'e',2),2)-1),'#,##')

View solution in original post

15 Replies
MK_QSL
MVP
MVP

NUM(YourNUMBERField,'#,##0.00') as YourNUMBERField

qvhjenvo
Contributor
Contributor
Author

Hi,

I have tried this in a textbox

NUM('4,53591077529e-014','###0.00')

It does not work.

MK_QSL
MVP
MVP

Try in your script...

How is your field of NUMBER ?

its_anandrjs

Try to write  like

=Round ( NUM(4,535910775293e-014,'#,##0.00'),1,0.05)

MK_QSL
MVP
MVP

Try

=NUM(SubField('453591077529e-014','e',1)*pow(10,LEFT(SUBFIELD(453591077529e-014,'e',2),1)&Right(453591077529e-014,2)),'#,##0.000')

rbecher
MVP
MVP

Do you mean 4,535910775293e-14? This would be a very small number..

Astrato.io Head of R&D
rbecher
MVP
MVP

This shows a decimal value:

=Num(Num#('4.535910775293e-14'),'#,000000000000000',',','.')

Astrato.io Head of R&D
maxgro
MVP
MVP

=

num(

subfield(upper(4.535910775293e-014),'E',1)

*

pow(10, subfield(upper(4.535910775293e-014),'E',2))

,'#,##0.000000000000000')

I added some 0 to format, your number is so small .....

1.png

qvhjenvo
Contributor
Contributor
Author

Hi,

Want to post an attachment. So u can see better

But I can not see how to post the attachment.