Floor() function exist? or Equivalent?

Floor() function exist? or Equivalent?

  
I dont see a Floor() built in functions, Trunc the same?

Edit: Trunc works only if it its positive value? correct?
Trunc is not *quite* the same, it just removes the decimal portion, so it will act like Ceil() for negative numbers.

I just updated the TrigFunctions extension (http://www.outsystems.com/forge/component/516/trigfunctions/) to include Floor and Ceil.

J.Ja
Good extension @Justin James. I didn't known it. Why not extendend it for more math functions? I will send sugestions for more math functions.

Best Regards
Alberto Ferreira
Alberto -

I add to it as I need to or as people suggest. As it is, I didn't need all the trig functions in it, I just needed cosine or sine when I started it. :)

J.Ja