Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.05 KB

File metadata and controls

26 lines (15 loc) · 1.05 KB

BigNumberAttribute

A simple-to-use attribute to make large numbers in property fields appear more readable without use of scientific notations.

Suported types: Int, Long, Float, Double

bigNumberPreview

Instalation

Use Releases tab to get latest .unitypackage file, or simply copy the code yourself. Its like two files anyway.

Usage

bigNumberUsage

This is an attribute - put [BigNumber] before your property to apply it.

Trivia

This way of displaying numbers called 'Positional Notation' and it will make limitations of floating point precision rather obvious when using large numbers.

Also see:

http://wikipedia.org/wiki/Single_precision

http://wikipedia.org/wiki/Double_precision

https://stackoverflow.com/q/872544/13975593