[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

ASP Floating point number presision

im trying to do the equivelent of Printf("%9.0f",variable); in asp.

so i have a variable and am trying to print it with response.write(variable) or the shortcut <%=variable%>

but i dont want 4656533.23454 to display how can I control this in ASP?
0
PhilippeT
Asked:
PhilippeT
  • 2
1 Solution
 
rohanbairat3Commented:
0
 
PhilippeTAuthor Commented:
Thanks a million I even looked at tha website obviously not well enought easy 125 points for you :)
0
 
rohanbairat3Commented:
:) It so happens ....we miss obvious things ...

 
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now