Domino Code Fragment
| Code Name* CurrencySymbol, IsCurrencySpace, and IsCurrencySuffix properties | Date* 01/04/2026 | Source (or email address if you prefer)* [email protected] IP address:.108.162.242.41 | |
| Description* The following agent displays the currency international settings: the currency symbol; whether a space is between the currency symbol and the number; whether the currency symbol follows the number. | Type* Java | Categories* (Misc) | |
| Implementation: | Required Client: | Server: |
| Limitations: | Comments: | |
public class currencysymbolagent extends AgentBase
{
public void NotesMain()
{
try
{
Session s = getSession();
International inat = s.getInternational();
System.out.println("Currency symbol is \"" +
inat.getCurrencySymbol() + "\"");
if (inat.isCurrencySpace())
System.out.println
("Space between currency symbol and number");
else
System.out.println
("No space between currency symbol and number");
if (inat.isCurrencySuffix())
System.out.println
("Currency symbol follows number");
else
System.out.println
("Currency symbol does not follow number");
}
catch (Exception e)
{
e.printStackTrace();
}
}
}