Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help on numeric value display
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi

var = 9900/500
PRINT var

O/P1: 19.8


var1 = 10000/500
PRINT var1

O/P2: 20

I want the results to display in the format mentioned below.

19.80 and 20.00

Can anyone give the easy solution for this?


Thanks in advance
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Print FormatNumber(var1,2)
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Thanks a lot raj Smile
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago Cool 
welcome ...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Validate Numeric value is displaying expected format kalaivanan123 1 3,503 09-23-2013, 08:45 PM
Last Post: ravi.gajul
  how to pass a numeric value into webedit silpavinod 3 3,863 10-15-2012, 01:57 PM
Last Post: silpavinod
  Display a Dialog box mv8167 3 4,632 07-18-2011, 07:53 PM
Last Post: mv8167
  Calculator Display kodak 1 2,861 03-30-2011, 01:04 PM
Last Post: ksrikanth2k9
  how to get only numeric values from text sravsand 10 12,697 03-21-2011, 04:40 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 2 Guest(s)