Name

Prec — Adjust number of decimal points of floating point number

Synopsis

Prec (x,
  precision = 0);

Returns

ARRAY

Parameters

Name Type Default Description
x array
precision array 0

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/prec.html

Adjust number of decimal points of floating point number