Overflow

Error message Overflow with a balck exclamation mark on a yellow triangle(What a description) comes i believe from this part of code:

'prc is 85 valc is 5310

rez = ((prc*valc) / 100)*12

rez is integer is it to small for the number or what is happening

Subject: Overflow

From the Lotus Domino Designer Help:“… An Integer value is a whole number in the range -32768 to 32767, inclusive …”

As I can see, you’re trying to assign the value ‘54162’ to rez. And 54162 is greater than 32767.

You have to declare rez as Long.

HAND!

Subject: RE: Overflow

…

Or divide ‘valc’ by 100 before affecting your value

(declaring long takes more ram than an integer… obviously)

These are Standard C ‘’‘tips’‘’. lol

ian