Money Decimal Places  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Money Decimal Places

Postby SBarnes » Wed May 09, 2018 7:48 pm

How can you get the number of decimal places for money inside a JiwaFinancials.Jiwa.JiwaApplication.JiwaCollectionItem object?

Thanks
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Money Decimal Places  Topic is solved

Postby Mike.Sheen » Wed May 09, 2018 7:52 pm

Hi Stuart,

The Application.Manager has a property, LocalCurrency - which has a property DecimalPlaces.

prior to 07.01.00.00
Code: Select all
JiwaFinancials.Jiwa.JiwaApplication.Manager.Instance.LocalCurrency.DecimalPlaces


07.01.00.00 and later:
Code: Select all
CollectionItem.Manager.LocalCurrency.DecimalPlaces

Where CollectionItem is the item within the collection.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Money Decimal Places

Postby SBarnes » Wed May 09, 2018 8:00 pm

Thanks Mike,

4 minutes might be the new record for a response :lol:
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 17 guests