BI Publisher (MOSC)

MOSC Banner

Using signum() Function in RTF-Template

edited Aug 14, 2014 5:00AM in BI Publisher (MOSC) 1 commentAnswered

Hello,

I'm using an RTF-Template, because my customer needs a text based file. Inside the RTF-Template is a lot of logic based on XSLT.

My Problem:

I have to use the signum() function out of the java.lang.Math class

<?namespace:math=http://www.oracle.com/XSL/Transform/java/java.lang.Math?>

<?math:ceil('12.34')?>

<?math:signum('12.34')?>


The ceil-result is correct: 13

The sigmun-result is an Error: class overloaded


The signum()-function is declared as double or float inside java.lang.Math.


But if I use <?math:signum(double,'12.34')?> the result is:       (yes you see right, it's only a blank piece of pixels)

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center