Truncate is not supported in JAL. It is only available in database filter expressions as a build-in method. What you need to do is to convert number to a string then cut away extra digits and then convert it back to a number. For example, Dim str, string Dim num, number, 125.3456 Format num, "000000.00", str Set str, num : Is there an easy way to specify the number of digits in a number variable? : The Round function does not work, as it applies only to division, and the : Truncate function, though in the documentation, is not recognized within : the JAL editor. I am able to achive my goal of two digits (e.g., 45.30, or : 33.00) by stripping the variable at the decimal using InStr, Left, and : Right, but this adds quite a few extra variables that are unnecessary if : the Round or Truncate functions would work like they are documented in : Chapter 19, Numeric Functions. Any help would be appreciated.
|