"Float to Punctuation" Chip
Similar to my last post the name implies the function of this CV2 chip.
This chip would convert a float into a string as a fully represented number.
Here are some examples below of how this would function on different input values,
1000.1 > "1,000.1"
1.4345E+12 > "1,434,500,000,000"
-1.4345E+12 > "-1,434,500,000,000"
1.32416E-8 > ".0000000132416"
The use case of this chip would be to greatly improve the readability to the player and not require creators to use integers for simpler readability and functionality. Floats are a very powerful method of representing numbers but they are undermined by their confusing representation.
While this can be created with circuits, creators should not have to go through the headache of making a whole circuit graph to convert a float to a dynamically represented string.
Please sign in to leave a comment.
Comments
0 comments