To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://LummoxJR.jruNumbers##version=0 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://LummoxJR.jruNumbers##version=0 |
The Numbers library provides a suite of procs that are useful for times when you want to use numbers in text output without spitting out just the raw number itself. The following operations are all supported:
Pluralization: Like a smarter version of the \s macro, you can easily convert most English words to their plural form. Commafication: Commas can be added to numbers for classier display. Text conversion: Whole numbers can be converted to their spelled-out form; this includes the ordinal (-th) form as well. Leading zeros or spaces: A useful proc is included for adding leading characters when displaying a number. In addition, most of the above routines are available in versions that can parse a larger block of text. |
Please support BYOND through Membership or a donation!
|
Related Libraries
|
|||||||||||||||||||||||||||||||||||
More Libraries by Lummox JR
|
Copyright © 2024 BYOND Software.
All rights reserved.