When is the conservation of doubles preserved? Assuming you are reading data from a CSV with a decimal point (for example, with values like "5.03"), does it make sense to use the mysql type DOUBLE? Will there be unnecessary rounding errors?
You should use numbers doublewhen you need to store really small or huge numbers. Something like that 9.837262 x 10^-567. Other than that, I would use fixed-precision numeric types to avoid the rounding errors that you mention.
double
9.837262 x 10^-567
" " double , , .
Source: https://habr.com/ru/post/1777048/More articles:Why is adding a number to a container associative iterator impossible? - c ++Преобразовать результат NSFetchedResultsController в NSArray - objective-cAny recommendations on using CSS and HTML for developing webapps? - androidSQL Server: connecting to a local instance using - sql-serverPHP OCI, Oracle и формат номера по умолчанию - oracleWix installer - conditionally displays "Run application" on ExitDialog based on user input dialog - windows-installerDo you clean before starting a mess? By putting cleanup code inside a finally block - javaHow to work with objects in JavaScript? - javascriptAnt JUnit Task could not find junit / framework / TestCase.class - classpathRuby: How to determine if an object o has class C as its ancestor in the class hierarchy? - ruby | fooobar.comAll Articles