First there was an error when using it to sart with. There was a \" ) \" missing.
alias comma {
$iif($1 !isnum,echo -a Number required,$iif($isid,return,echo -a)) $+($bytes($int($1),b),$calc($1 - $int($1)))
}
When I added the missing \" ) \" it did not work right. It added a \" 0 \" to the end of every number. Examples below.
/comma 5 -> 50
/comma 50 -> 500
/comma 500 -> 5000
/comma 5000 -> 5,0000