PERL Based on Numeric Question

Hello, I would like to display a number on screen if it is different from zero, and if it is equal to zero, I would like to display a "."

I tried the following code, but it is not working:

Begin Unverified Perl

if(GETVALUE("S12b")==0

{

ADD(".");

}

else {

GETVALUE("S12b");

}

End Unverified

In which S12b is a numeric question, could you please assist me in fixing this? Thank you!

2 replies