メインコンテンツまでスキップ
バージョン:25.2

trunc

  • math function

  • The trunc function truncates a number and returns the whole number portion, ignoring any fractional portion.

  • Examples: +

     put trunc(16.8) —> 16
  • Related: frac