Documentation

Round

Table of Contents

builtinROUND() ROUND. float|string

Methods

builtinROUND()

ROUND.

public static builtinROUND( $number : mixed , $precision : mixed ) : float|string

Returns the result of builtin function round after validating args.

Parameters
$number : mixed

Should be numeric

$precision : mixed

Should be int

Return values
float|string —

Rounded number

Search results