dimanche 8 novembre 2015

How to remove decimal values display from form field that is automatically coming from backend

In my form field i want to enter only integer values. i am using ruby moneyrails gem. my field name in db is amount_paisas. so when it is displayng in form it shows 0.00 . i need only 0 to dispaly there. how to avoid decimal values . i tried to give placeholder but no changes.

This is what iam getting in form display.here i need to avoid values after point

enter image description here

This value is automatically coming from backend. how to remove this?

Any help is appreciatable ..

Aucun commentaire:

Enregistrer un commentaire