MerlinofMines / EasyCommands

Github Repository for Ingame Scripts built by MerlinofMines. Uses MDK to Deploy to SpaceEngineerse
GNU General Public License v3.0
8 stars 3 forks source link

Added support for custom number formatting #253

Closed MerlinofMines closed 2 years ago

MerlinofMines commented 2 years ago

This commit adds a new global variable for "NUMBER_FORMAT" which the user can now set from their script to change the number format used when outputing numbers.

It also changes the default number format used to #0.########, which ensures that large numbers are not truncated using scientific notation.

This PR fixes #252