Trunc

  • Scroll to top of this topic Scroll to Top of Page

  • Print the current topic Print Topic

  • No expanding elements on this page Show/Hide Expanders

Trunc(Value) truncates Value to an integer by rounding it towards zero. If the number being truncated is outside the range -(231-1) and +(231-1), the function will return whichever of those numbers is closest.

See also Round.