PHP CSV: Convert Scientific Notation Back to Decimal
Originally published at recca0120.github.io
When exporting CSV from Excel, numeric fields are often converted to scientific notation — e.g., 0.000089 becomes 8.90E-05. Inserting into MySQL works fine, but using bcmul throws bcmul(): bcmath function a...
recca0120.hashnode.dev1 min read