#Trying to show specific digits of purse

1 messages · Page 1 of 1 (latest)

languid flower
#

What error does it give? “Could not compare … with a number”?

wooden hornet
#
  add 0 to {_n}
  set {_s::*} to split "k,M,B,T,Q,QI,S,Sp,O,N,D,U,Du,Td,Qa,Qi,Sx" at ","
  set {_div} to floor(log(max(abs({_n}), 1), 1000))
  return "%{_n} / (1000 ^ {_div})%%{_s::%{_div}%} ? ""%"```

Incase you need something more efficient,

You would do:

`format(%{purse::%{_p}'s uuid%}%)`
wooden hornet
#

No it doesnt?

karmic void
#

it's nicer, can run better, is a function and can stack money up to 10^17

#

im saving that-