Price fraction: Difference between revisions

Content added Content deleted
m (→‎version 1: added a comment, changed whitespace, used a different output template, split a compound statement.)
m (→‎{{header|REXX}}: changed the first comment.)
Line 2,998: Line 2,998:
=={{header|REXX}}==
=={{header|REXX}}==
===version 1===
===version 1===
<lang rexx>/*REXX program re─scales a (decimal fraction) price (in the range of: (0.99 ──► 1.00).*/
<lang rexx>/*REXX program re─scales a (decimal fraction) price (in the range of: 0¢ ──► $1). */
pad= ' ' /*for inserting spaces into a message. */
pad= ' ' /*for inserting spaces into a message. */
do j=0 to 1 by .01 /*process the prices from 0¢ to ≤ $1 */
do j=0 to 1 by .01 /*process the prices from 0¢ to ≤ $1 */