It looks like we will be upgrading to the newest version of XPP. Does the newest version of XPP support floating point math yet?
It looks like we will be upgrading to the newest version of XPP. Does the newest version of XPP support floating point math yet?
In some of our catalogs the customer wants to show inches and millimeters in parens like this: 51"(1295mm). We have a macro where we enter the inches and it shows the inches, inch mark and calculates the mm. So we would enter <inchmm;51> and it would show 51"(1295mm).
More and more often the inches the customer wants to show has a decimal like this:
51.5"
and we would show in the catalog: 51.5"(1308mm)
But our macro cannot handle the decimal point, only whole numbers.
Besides using Xyperl is there a solution where we can enter inches with a decimal value and have our macro calculate the mm? In each division we would have hundreds, or even thousands of <inchmm> macros used, so I'm concerned if we used Xyperl it would slow things down if we composed the whole division.
Hi Chuck,
Nothing has been done in the XPP "macro language" to support floating point math, and as far as I know there are no future plans at this time to do so.
The suggestions already given to use XyPerl are good ones.
However, perhaps you might want to enter something for this on the SDL XPP Ideas page.
If you do so (and this applies to any Ideas that get entered there), please be as detailed as possible.