Browse Prior Art Database

Language Independent Interface For Obtaining Numeric and Monetary Category Settings From A Locale

IP.com Disclosure Number: IPCOM000015121D
Original Publication Date: 2001-Aug-01
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

Disclosed is a language independent service that correctly parses monetary and numeric information, including dual currency specifications, for storage in an internal structure. The service has been designed to exploit dual currency support and relies on a locale to provide localization at run time to cater to local preferences. The service is designed as a procedure call to allow its us by a wide number of programming languages on a variety of processing platforms. The ACEELCNV service is used to obtain information pertaining to the LC_NUMERIC and LC_MONETARY categories of the locale. It sets the components of an object of the type NM_STRUCT with the values appropriate for formatting of the numeric quantities (monetary and otherwise) according to the rules of the current locale. void ACEELCNV [Locale_Handle], Num_And_Mon, [fc] CEE_HANDLE *Locale_Handle; NM_STRUCT *Num_And_Mon; FEED_BACK *fc;