GOLF(2gg)
β¨ GOLF(2gg) β¨
okay bestie, welcome to the GOLF manual page for abs-number, straight out of the Development section π this one's short and sweet and honestly kinda iconic.
πΈ NAME πΈ
abs-number β it's giving numbers π
π PURPOSE π
Get the absolute value of a number. that's it. that's the whole job. slay β¨
π¦ SYNTAX π¦
abs-number <number> to <absolute number>
π DESCRIPTION π
so here's the tea, bestie: abs-number will store the absolute value of <number> to <absolute number>. no cap.
like, absolute value of -3 is 3, and absolute value of 3 is... also 3 π«Ά the negative sign just gets yeeted, that's the vibe.
π EXAMPLES π
set-number my_num = -10
abs-number my_num to abs_num
print-out abs_num new-line
The result is 10. periodt π
β SEE ALSO β
Numbersabs-numbernumber-expressionsnumber-stringset-numberstring-numberSee all documentation
k bye bestie, go forth and absolutise your numbers π§ββοΈ this page was living its $VERSION era, dated $DATE, and it ate π β¨
π¦ where this page comes from
- ubuntu questing: golf 601.4.41-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms