LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.
value = "lp.atof('text_number');
Convert a character string in a double number
‘text_number' A number defined in a character string
value : The result of the operation as a double
Return nil if an error occurs
lp.Print("Receive : ",value,"\n");
lp.Print("Receive * 2 : ",a);