Round Integer

  • Thread starter Thread starter Niclas
  • Start date Start date
N

Niclas

Is there a way to format an integer (when displayed as a string) always
rounded downwards. So that 9.99 would be displayed as a 9 and a 10.01 would
be showed as 10 ?

Niclas
 
I thought that decimal.Floor( decmial ) does that. I haven't tried and
tests.

Micah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top