Appendix: Built-in Scripting Language Logarithmic functions These functions are used to perform logarithmic operations on numeric values. Exp Calculates the value of e (2.718282) raised to the power of numValue . Syntax Exp( numValue ) numValue Integer or Real tag containing the exponent of e . Returned value Returns the value of e^( numValue ) . Examples Log Calculates the natural log of numValue . Syntax Log( numValue ) numValue Integer or Real tag from which the natural log is taken. Returned value Returns the value of ln( numValue ) . Note: If numValue has a negative value, then this function will return the value 0 and it will set the quality of the returned tag to BAD .
Examples Log10 Calculates the log base 10 of numValue . Page 458 InduSoft Web Studio Function Group Execution Windows Embedded Thin Client Exp Logarithmic Synchronous Supported Supported Supported Tag Name Expression Tag Exp( 1 ) // Returned value = 2.718282 Tag Exp( 5.25896 ) // Returned value = 192.281415 Function Group Execution Windows Embedded Thin Client Log Logarithmic Synchronous Supported Supported Supported Tag Name Expression Tag Log( 2.718282 ) // Returned value = 1 Tag Log( 100 ) // Returned value = 4.605170 Function Group Execution Windows Embedded Thin Client Log10 Logarithmic Synchronous Supported Supported Supported