SCNumExtension extension

Extension Methods & Widgets for the numbers

on

Properties

a double
no setter
degrees double
no setter
hsz double
no setter
isEven bool
Returns if the number is even
no setter
isNegative bool
Returns if the number is negative
no setter
isOdd bool
Returns if the number is odd
no setter
isPositive bool
Returns if the number is positive
no setter
spacer Spacer
no setter
sz double
no setter
text Text
Get Text Widget for the String
no setter
wsz double
no setter

Methods

toDoubleStringAsFixed({int digit = 2}) String
Use this extension SCmethod to get fixed values after decimal with defined length.
toDoubleStringAsPrecised({int length = 4}) String
Use this extension SCmethod to get precised values after decimal with defined length.
tweenTo(double end) Tween<double>