Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey,
I'm trying to round up a number in a text box using the num() function.
I'm currently using the script: num(sum(budget),'#.##0',',','.') and getting the result: 35.756.
How should the script be if I want the result to be: 35.8?
Thanks,
Not sure if I've understood your request correct, maybe like
=num(35768/1000,'#.0 k','.',',')
or
=num(35768/1000,'#.0','.',',')
=round( 35.756,0.1)
Your value is 35756 (without the thousand separator) and you want it to show as 35.8?
num() is a number formatting function,
To round a number, use round(), floor() or ceil().
Correct. Or to clarify; I have a function which give me a value of 35756 that I would like to round up to just one digit
round(sum(Budget) / 1000, 0.1)
Not sure if I've understood your request correct, maybe like
=num(35768/1000,'#.0 k','.',',')
or
=num(35768/1000,'#.0','.',',')
Ceil(Sum(budget)/1000,0.1)
hope this helps
regards
Marco
Hi,
=ROUND(SUM(SALES),0.1)
Regards
S
Hey Krishna,
Thanks for answering,
If I use that script, I get 35756,4 😕