Numeric Functions - MapInfo_Pro_Advanced - 2023

MapInfo Pro Advanced Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro Advanced
Title
MapInfo Pro Advanced Help
First publish date
2016
Last updated
2023-09-20
Published on
2023-09-20T15:00:50.875000

You can use numeric functions to evaluate values in a single input raster. Examples of functions are logarithmic, trigonometric, arithmetic, etc.

Table 1. Numeric functions
Function Meaning
abs(x) Absolute value of x
acos(x) Arc cosine of x
aln(x) Anti natural log, e^x
alog(x) Anti log, 10^x
asin(x) Arc sine of x
atan(x) Arc tan of x
atan2(x,y) Arc tan of x/y
ceil(x) Rounds a value of x up to the nearest multiple of significance.
cos(x) Cosine of x
cosh(x) Hyperbolic cosine of x
degtorad(x) Convert x degrees to radians
diff(x,y) Absolute value of x-y
exp(x) e^x
floor(x) Rounds a value of x down to the nearest multiple of significance.
int(x) Convert real value x to an integer
ln(x) Natural log of x (base e)
log(x) Log of x (base 10)
max(x,y) Maximum value out of x and y
min(x,y) Minimum value out of x and y
mod(x,y) The floating-point remainder of x/y (rounded towards zero) e.g. mod(5.3,2.0) = 1.3
pow(x,y) x^y
radtodeg(x) Convert x radians to degrees
rand() Returns a pseudo-random number between 0.0 and 1.0
round(x,y) Rounds the value, x, to the nearest multiple of y. For example,
  • round(123.56,1)=124
  • round(123.56,10)=120
  • round(123.56,100)=100
sin(x) Sine of x
sinh(x) Hyperbolic sine of x
sqrt(x) Square root of x
tan(x) Tan of x
tanh(x) Hyperbolic tan of x