C# Class Scriban.Helpers.MathFunctions

Math functions available through the object 'math' in scriban.
Datei anzeigen Open project: lunet-io/scriban

Public Methods

Method Description
Ceil ( double value ) : double
Floor ( double value ) : double

Private Methods

Method Description
Register ( ScriptObject builtins ) : void
Round ( TemplateContext context, ScriptNode callerContext, ScriptArray parameters ) : object
Round ( int precision, double value ) : object

Method Details

Ceil() public static method

public static Ceil ( double value ) : double
value double
return double

Floor() public static method

public static Floor ( double value ) : double
value double
return double