Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Number Formatting in expression level

Hi Guru's

I want to Format My output Number Up to 3 Decimals

EX: Num(((5/10/33,'#.##', '.',',' )

5/10/33=0.015

if i use like this Num(((5/10/33,'#.##', '.',',' )

it showing 0.01

So, i need  to show one more  decimal in output

Ans:0.015

thanks in advance

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi Babu,

This Num(5/10/33,'#,##0.000') is working as expected and returning 0.015, if you want 0.01 then use Num(5/10/33,'#,##0.00').

Hope this helps you.

Regards,

Jagan.

View solution in original post

8 Replies
senpradip007
Specialist III
Specialist III

Try like:

Num(5/10/33,'#.###', '.',',' )

tresesco
MVP
MVP

Try:

=Num(number, '#,##0.000' )

Anonymous
Not applicable
Author

Hello,

try this one:

Num(((5/10/33,'#.###')

jagan
Luminary Alumni
Luminary Alumni

Hi Babu,

For 3 digits you have to give 3 zeros after '.'

Num(5/10/33,'#,##0.000')


Regards,

Jagan.

Anonymous
Not applicable
Author

Hi Guys ,

I tried all ur Suggestions.It showing 0.005

i need  0.015

I got required number 0.015

explanation: num(num(field1/field2,'0.000')/

                  num((field3)-field4),'0.000),'0.000)

field1=5

field2=10

field3-field4=33

Note:Iam not using environmental variables in applicatio

Thanks guys.

senpradip007
Specialist III
Specialist III

Hi Babu,

I've tried and its working fine with Num(5/10/33, '#.###') this expression.

jagan
Luminary Alumni
Luminary Alumni

Hi Babu,

This Num(5/10/33,'#,##0.000') is working as expected and returning 0.015, if you want 0.01 then use Num(5/10/33,'#,##0.00').

Hope this helps you.

Regards,

Jagan.

jagan
Luminary Alumni
Luminary Alumni

Hi Babu,

Please close this thread if you got the required solution.

Regards,

Jagan.