Skip to main content
jasons35699793
Known Participant
May 9, 2019
Question

Simple calculation

  • May 9, 2019
  • 1 reply
  • 327 views

I want to write a calculation that will take the input from 1ST_FLOOR add 1ST_FLOOR_DEC / 10 to get a number with a decimal and subtract a value the user puts in CL_RD and place it in the box for ToBF.

not sure what I am missing

var num = this.getField ("1ST_FLOOR").value + this.getField ("1ST_FLOOR_DEC").value/10 - this.getField ("CL_RD").value;

this.getField("ToBF") = aNum

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 9, 2019

Change the last line to:

event.value = num;