Teisenda (DECIMAL+'').replace('.', ',')
protsendiks.
(SOLN+'').replace('.', ',') %
Et teisendada kümnendmurd protsendiks tuleb see korrutada 100-ga ja lisada lõppu \%
märk.
Sajaga korrutamiseks tuleb koma liigutada kahe koha võrra paremale.
(DECIMAL+'').replace('.', ',') \rightarrow ((Math.round(DECIMAL * 1000)/100)+'').replace('.', ',') \rightarrow (SOLN*1+'').replace('.', ',')
Seega (DECIMAL+'').replace('.', ',')
= (SOLN+'').replace('.', ',')\%
.