Skip to main content
kalebb6709324
Participant
Jan 17, 2017 2:45 PM UTC
Question

i want to multiply a double integer by .01

hi, i want to take a number in one field and multiply by .01 and place into another textbox.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

try67
Community Expert
Community Expert
Jan 17, 2017 3:25 PM UTC

Use this code as the custom calculation script of the target field (adjust the field name of the source field, of course):

event.value = Number(this.getField("Text1").valueAsString) * 0.01;

Translate