Round to decimal point


value= int((number)*100)/100;

//Usage

value= int((31.987654)*100)/100;

trace(value)

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.