Options
All
  • Public
  • Public/Protected
  • All
Menu

浮点数检查参数

export
class

CheckFloatParams

extends

{CheckParamsBase}

Hierarchy

Index

Properties

Optional canEmpty

canEmpty: boolean
被检查的字符串是否允许为空字符串("")。默认值为false
如果此参数为tre,当被检查的字符串为null 或 undefined 时,直接返回成功,不再进行下一步检查。
type

{boolean}

memberof

CheckParamsBase

Optional canNull

canNull: boolean
被检查的字符串是否允许为空(null, undefined)。 默认值为false
如果此参数为tre,当被检查的字符串为null 或 undefined 时,直接返回成功,不再进行下一步检查。
type

{boolean}

memberof

CheckParamsBase

Optional canNullOrEmpty

canNullOrEmpty: boolean
被检查的字符串是否允许为空或空字符串(null, undefined, "")。默认值为false
如果此参数为tre,当被检查的字符串为null 或 undefined 时,直接返回成功,不再进行下一步检查。
type

{boolean}

memberof

CheckParamsBase

Optional decimals

decimals: number

Optional max

max: number

Optional min

min: number