floor() function definition

David C. Ullrich ullrich at math.okstate.edu
Thu May 17 11:10:50 EDT 2001


On Wed, 16 May 2001 22:54:41 GMT, Dev_NuLL <dev_null at email.com> wrote:

>>Try it and see!
>
>Seems to strip everythin off the right of the decimal point in a
>positive number.
>
>After looking at the negative numbers it gives the closet integer less
>than x.
>
>Thanks to you and the others who ANSWERED the question, and 'up your
>ass' to the jerk off who's answer was 'go take a course in math'. The
>answer cannot even be found on 'Ask Dr. Math's' site because this is a
>programer's function, not a common math function because it cannot be
>explained by a simple formula.

If you ask for "math floor" in Google you get about 300,000 hits. The
_first_ one (today) says in part

"floor Returns the largest integer less than or equal to a number."

David C. Ullrich
***********************
"Sometimes you can have access violations all the
time and the program still works." (Michael Caracena,
comp.lang.pascal.delphi.misc 5/1/01)



More information about the Python-list mailing list