- Where Developers Learn, Share, & Build Careers


How to display my price ( 200,000 in 2 million, 20000000 => 2 million ) MySQL now needs to display this value as

  200000 350000 2000000 20000000  

  2 / 2.00 lakh 3.5 lakh 20/20 lakhs 2/200 million  

Possible duplicate question

Thank you.

I agree with Rob Eger.

I do not believe in your data, but such a thing is for the custom modifier

  function smarty_modifier_indian_currency ($ value) {if ($ value> 100000) {$ lacs = $ price / 100000; Returns $ 1.1 million ($ 100 million & lt; 100) ' lakh '; $ Crores = Floor ($ Million / 100); $ Lac = $ lac - ($ 100 * 100); If ($ lac == 0) returns $ 10 million 'Crore'; Return $ 100 million '/'. $ Million 'Crore'; } Return value $; }  


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -