How to set default value for percent field?

i want to set 17 % default value for this field
how to set

I don’t think is possible in a “Currency” field … should be Data, Text …
For math operations you can use decimals (0.17)

for data or text not working

Hi @nilpatel42:

It’s working for me with data and text …

1 Like

Okay i will try
thanks

@nilpatel42 currency field does accept default values as floats . for operations you can use js to set default values.

okay

thank you

i think i find a bug problem is because of i created Single type Doctype
in Normal Doctype It’s working

@nilpatel42 works in single doctypes as well . but if you already updated the price value in the doctype, new default value will no longer affect the database .

1 Like

okay, i understand

thank you