RosettaCodeData/Task/Safe-addition/REXX/safe-addition.rexx
2015-11-18 06:14:39 +00:00

5 lines
245 B
Rexx

numeric digits 1000 /*defines precision to be 1,000 decimal digits. */
y=digits() /*sets Y to existing number of decimal digits.*/
numeric digits y + y%10 /*increase the (numeric) decimal digits by 10%.*/