Skip to main content
Inspiring
April 10, 2008
Answered

Forcing a number to display without decimals or rounding

  • April 10, 2008
  • 2 replies
  • 439 views
I am performing a mathimatical calculation, and I want to use the result in another calculation. For exampl, my result may be 10.678. I want to use the number 10 in my next calculation, not 11 or 10.678. Is there a mask or function that will allow me to cut my number off at the decimal place without rounding?
    This topic has been closed for replies.
    Correct answer Newsgroup_User

    int() is always popular.

    2 replies

    JatrixAuthor
    Inspiring
    April 10, 2008
    Thanks Ian!!!
    Newsgroup_UserCorrect answer
    Inspiring
    April 10, 2008

    int() is always popular.