vars

package
v1.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncAppend

func FuncAppend(args ...interface{}) interface{}

FuncAppend 附加字符串 append('a', 'b')

func FuncCeil

func FuncCeil(args ...interface{}) interface{}

FuncCeil 对数字进行取不小于它的整数 ceil

func FuncFloat

func FuncFloat(args ...interface{}) interface{}

FuncFloat 浮点数处理 float | float('%.2f')

func FuncFloor

func FuncFloor(args ...interface{}) interface{}

FuncFloor 对数字进行取不大于它的整数 floor

func FuncFormat

func FuncFormat(args ...interface{}) interface{}

FuncFormat 格式化 format('%.2f')

func FuncRound

func FuncRound(args ...interface{}) interface{}

FuncRound 对数字四舍五入 round | round(2)

func RegisterFunc

func RegisterFunc(code string, f interface{})

RegisterFunc 注册一个函数

func RunFuncExpr

func RunFuncExpr(value interface{}, expr []byte) (interface{}, error)

RunFuncExpr 执行函数表达式

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL