Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I convert an Image J2 currency amount to a correctly-formatted text string ?

0
Posted

How can I convert an Image J2 currency amount to a correctly-formatted text string ?

0

An Image J2 data type, like an Image I2, is an integer data type with an implied decimal point. To convert this value to a text string with a decimal point followed by two decimal places, see the following script output : 1> define j : image j2 value 9999 2> define s : string 3> setvar s = trunc ( ( convert( j , “oracle number”) / 100 ), 2) 4> print s 99.99 Is there a way of determining how long it takes for the Warehouse engine to compile the Warehouse script and open the databases ? What you are asking to measure is the elapsed time required by the Warehouse engine to compile a script, a phase that also includes opening both local and remote data sources and targets and preparing the SQL statements. The mechanism to gather this measurement is platform-dependent. One approach that could be taken on Unix is to insert two lines at the beginning of the script. The first line begins with an exclamation mark and executes at compile-time. Since it is the first compile-time statement in the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123