Syntax
dim(number,number)
Description
The dim() Returns the maximum of x-y or 0.
Example
include("math") printf("%.2f\n", dim(4, -2)) printf("%.2f\n", dim(-4, 2)) 6.00 0.00
dim(number,number)
The dim() Returns the maximum of x-y or 0.
include("math") printf("%.2f\n", dim(4, -2)) printf("%.2f\n", dim(-4, 2)) 6.00 0.00