function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion


Could somebody please provide an example of using this function? While I'm in love with my APEX Dev Manual, it's not so great with the examples ;)

I need to round a decimal value using the UP roundingMode, but can't figure out how to set it all properly...


FYI - think I found it:
myLong = myDecimal.round(system.roundingMode.UP);