Difference expressed as a percentage
diffpi #1 #2 [, format(%fmt) ]
diffpi provides the percentage of #1 to be added or subtracted, depending on its positive or negative sign, to #1 to get #2. It is an immediate command, see help immed.
format(%fmt) specifies the display format for presenting numbers. format(%3.2f) is the default; see help format.
. diffpi 100 20 . diffpi 80 100 . diffpi 46 43 . diffpi 46 43 , f(%5.4f) . diffpi 1.1 1.5