SCALERIGHT Function

── SCALERIGHT ── ( ──<arithmetic expression>── , ──────────────────────►
►─<arithmetic expression>── ) ─────────────────────────────────────────┤

The SCALERIGHT function returns, as an integer value, the rounded result of the following, where the second arithmetic expression, rounded to an integer, has a value in the range 0 to 12:

first <arithmetic expression>/(10 ** second <arithmetic expression>)

A run-time error occurs if the integerized value of the second arithmetic expression is less than 0 or greater than 12.