floor function The floor function returns x, rounded down to the nearest integer. Arguments 1 Argument Description x A number. Return value A number representing the largest integer less than or equal to the specified number. Syntax Math.floor(x) Examples Example Result var Num = DLSYS["U012-FICA-5625-C/DIFF.CV"]; this.Label = Math.floor(Num); Returns "0". Math.floor(5.95) Returns "5". Math.floor10(59, 1) Returns "50".