‎2008 Jan 04 10:39 PM
Hi friends, a currency field which has a value of 1,008,000.52 i need to use this value for some calculations like i need to multiply this with 0.75. any code will be helpful.
Thanks in advance.
Suresh..
‎2008 Jan 05 5:54 AM
Hi Suresh,
we make currency field as p(Pack) and ur multiplier is also like p(pack) and perform ur calculation ok..If u are using pack type u get more accuracy in the result when compared to float that is why u better to go for pack instead float..
Award points if helpful.
Kiran Kumar.G
Have a Nice Day..
Edited by: KIRAN KUMAR on Jan 5, 2008 6:54 AM
‎2008 Jan 04 10:46 PM
hi if that is a curr field than the comma will come only when you write the value in list....well you can do all calculation with them.. i think so....
regards
saurabh
‎2008 Jan 04 10:49 PM
Since that both are numeric fields, you can do any operations on those. Please let me know if you need any more info.
Regards,
Satya
‎2008 Jan 04 10:52 PM
Put the currecy value into a variable of type p (packed number)
‎2008 Jan 04 11:20 PM
you can do the arithmatic operation as it is provided the its currency field and numeric field. Dont bother about Comma's..
You can always make the changes for the commas in the user settings...
‎2008 Jan 05 5:54 AM
Hi Suresh,
we make currency field as p(Pack) and ur multiplier is also like p(pack) and perform ur calculation ok..If u are using pack type u get more accuracy in the result when compared to float that is why u better to go for pack instead float..
Award points if helpful.
Kiran Kumar.G
Have a Nice Day..
Edited by: KIRAN KUMAR on Jan 5, 2008 6:54 AM
‎2008 Jan 05 5:59 AM
Hi Suresh,
Don't bother abt comma.
U can go for any calculation if it is currency field.
If it usefull pls do reward.
Regards
Srimanta