Digit, digit, multiplier, tolerance — the standard 4-band code (IEC 60062). The same band rendering lives inside Electrical Circuit when you solve for resistance.
The tolerance band (gold/silver) is usually set slightly apart toward one end — start from the other end.
Not every ohm value maps to exact 2-digit × 10ⁿ bands. Encode mode rounds to the nearest representable 4-band value.