Today I Present My First Extension 'MathUtils' Extension.
Introduction:
MathUtils Extension will allow you to quickly perform such functions as:
-
Simple Mathematics (Addition, Subtraction, Multiplication etc...)
-
You Can Convert Numbers to its Short Form like 1000 = 1k, 56000 = 56k.
-
Format a Number to a Default Format.
-
Customize the Formatting of a Number.
-
Put a Separator into Your Number.
& Much More...
Picture of All the blocks.
Documentation:
Format
Format a Number to a Default Number.
Number •Numbers to be Formatted in Meters, BytesBytes or Grams.
Format •Format to:
1 = Cm
2 = Km
3 = GB
4 = MB
5 = Kg
Custom Format
Customize the Formatting of a Number.
Number •The Number to be Formatted.
Prefix and Sufix •Prefix/Suffix Your Number with anything. Leave an Empty String, If you don't want to Prefix/Suffix.
multipyFor •Multiply Your Number for Other. If you don't want to use this, Put 1.
Separate
Put a Separator into Your Number.
Number •The Number You want to Add Separator.
Separator •The Separator You want to Use in Your Number.
Indirect Methods
These are Methods that will raise the Indirect Formatting Event with the value instead of Returning it. This will beUseful if you want to do something after Formatting.
Error
error Message
An Error Occured
1 = You must Choose a Valid Default Format: Direct Method.
2 = You must Choose a Valid Default Format: Indirect Method.
IndirectFormatting
Event Raised When You use Indirect Methods.
The Return Value of the Method.
Convert
Convert Number to its Short Form.
Value •Which You want Convert in Short Form.
& About Other Blocks, You know How to use it.
Like And Post, How was My Guide.
& If You think this Feature Should be Added, You can PM me or Post here.
I am Trying to Add more Features.
& If You find any bug Let me know.
Thanks For Reading my this Post.
Extension Download Link:
MuhammadMathUtils.aix (10.3 KB)
Extension Built - 2021-01-07T18:30:00Z