I have a field name called fldPercent.
This field name is created so we can insert a discount percentage for a given product.
This way, we can query the db to obtain the percentage for a product like thus:
select cprice-cprice*fldPercent from table
but I need to know the right datatype for a percentage field name.
Also the value for percentage be entered as say 10% or .10?
Thanks in advance
This field name is created so we can insert a discount percentage for a given product.
This way, we can query the db to obtain the percentage for a product like thus:
select cprice-cprice*fldPercent from table
but I need to know the right datatype for a percentage field name.
Also the value for percentage be entered as say 10% or .10?
Thanks in advance