Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » DropDown Field values - changing in runtime
Re: DropDown Field values - changing in runtime [message #7703 is a reply to message #7702] Thu, 24 March 2022 12:46 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 421
Registered: May 2014
Senior Member
The framework calls the method number_unformat() in include.libary.inc two times.

The first call with value 50,01 is fine. The $decimal_point is empty and will be filled with $GLOBALS['localeconv']['decimal_point'] = ',' and the $thousands_sep will be filled with $GLOBALS['localeconv']['thousands_sep'] = '.'.
$number has now the value 50.01.

After this, my Debugger steps to _cm_updateFieldArray() and once more to number_unformat() with the (changed) value 50.01. In line 5776 the '.' in the number will be replaced with ''.

Is this behaviour of the framework right or do I have to search in my code for the problem?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SQL with concat() - cannot extract token from
Next Topic: List pattern - fields of joined tables disappear by reset
Goto Forum:
  


Current Time: Sun Aug 04 02:18:50 EDT 2024

Total time taken to generate the page: 0.04010 seconds