Jump to content

Returning NAN


Random Logic

Recommended Posts

I am programming a few functions into an Adobe Acrobat PDF file and for some reason this isn't working. Am i missing something?

function psychro_pv1(db, wb, atm){var pvp = psychro_pvs(wb);var ws = (pvp / (atm - pvp)) * 0.62198;var hl = 1093.049 + (0.441 * (db - wb));var ch = 0.24 + (0.441 * ws);var wh = ws - (ch * (db - wb) / hl);event.value = atm * (wh / (0.62198 + wh)); }event.value = pvp;

edit: the function psychro_pvs is a working function established before this one.

Edited by Random Logic
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...