Skip to main content
Topic: FormatRecordField error (Read 1023 times) previous topic - next topic

FormatRecordField error

When formatting an INT or DECIMAL field with to_number it creates the following error. A similar error happens using to_currency('en_US') format.

Notice: Use of undefined constant to_number - assumed 'to_number' in D:\Bitnami\wampstack-7.1.27-1\apache2\htdocs\valuemax\app\controllers\ProjectsController.php on line 46