OCLOperators Number::floor () : Integer
(Created page with "=== Number::floor () : Integer === Returns the integer part of ''self'' if it is a Real, ''self'' if it is an Integer. {| class="wikitable" !Expression !Result |- |(2.3)....")
(No difference)

Revision as of 18:59, 25 November 2019

Number::floor () : Integer

Returns the integer part of self if it is a Real, self if it is an Integer.

Expression Result
(2.3).floor() 2
(2.8).floor() 2
2.floor() 2
This page was edited 84 days ago on 02/10/2024. What links here