Guys, please i need your help!
This is my problem:
In my country (Brazil), the decimal separator is the comma ",", so:
$crud->callback_column('preco',array($this,'valueToReal'));
This show the values on correct format, ( 9.99 to R$ 9,99), and before update, i turn back the "."
$crud->callback_before_update(array($this,'checking_preco'));
But, the value on $post_array['preco'] dont have the decimals!!! "9,99" is only "9" on before_update!
Whats o going on? Where i wrong?
Sorry for my poor english, and thanks for your time.