familychicken

Untitled

Feb 28th, 2022 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function fix(inf: text, type: number) :: number:
  2. set {_infa::*} to split {_inf} by "e"
  3. set {_infa::%{_type}%} to "%{_infa::%{_type}%}%" parsed as a number
  4. return {_infa::%{_type}%}
  5.  
  6. on load:
  7. set {_aa} to "1e400"
  8. broadcast "%fix({_aa}, 2)%"
Advertisement
Add Comment
Please, Sign In to add comment