AnsweredAssumed Answered

how to remove comma from datatype float on editview

Question asked by community-support on Jan 13, 2014
Latest reply on Jan 13, 2014 by community-support
Hi ,

I have a field called 'amount'  which is of type  'float' , but the values are displaying with comma seperated. For eg: 1,700.00 or 1,722.12

What I want is 1700.00 or 1722.12

I tried using below codes such as -

unformat_number($this->dv->fieldDefs['your_field']['value']);   in view.edit.php

['disable_num_format'] = '1' // in vardef extension.

But nothing works. Please suggest something....

Regards,

Ashok

(from ashokinsugar)

Outcomes