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, 
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Not sure if I've understood your request correct, maybe like
=num(35768/1000,'#.0 k','.',',')
or
=num(35768/1000,'#.0','.',',')
 
					
				
		
 Qrishna
		
			Qrishna
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		=round( 35.756,0.1)
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Your value is 35756 (without the thousand separator) and you want it to show as 35.8?
 
					
				
		
 Colin-Albert
		
			Colin-Albert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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 
 
					
				
		
 Colin-Albert
		
			Colin-Albert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		round(sum(Budget) / 1000, 0.1)
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Not sure if I've understood your request correct, maybe like
=num(35768/1000,'#.0 k','.',',')
or
=num(35768/1000,'#.0','.',',')
 
					
				
		
 MarcoWedel
		
			MarcoWedel
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Ceil(Sum(budget)/1000,0.1)
hope this helps
regards
Marco
 
					
				
		
 saurabh5
		
			saurabh5
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
=ROUND(SUM(SALES),0.1)
Regards
S
 
					
				
		
Hey Krishna,
Thanks for answering,
If I use that script, I get 35756,4 😕
