A downloadable project

Buy Now$3.00 USD or more

Simple-Conversions

Simple Conversions Extension for SAMMI

-----------------------------

Date Conversion

-----------------------------

This command takes a date in an accepted format and outputs the day of the week This command works with dates from AD0001 to AD9999. If the date is outside this range the output will be undefined.

Accepted FormatsExample
ISO Date"2015-03-25" or "2015/03/25"
"2015-3-25" or "2015/3/25" 
Short Date"03-25-2015" or "03/25/2015"
Long Date"Mar 25 2015" or "25 Mar 2015" - Months can be spelled in full, commas will be ignored

**Note:** Dates in the format "DD-MM-YYYY" or "DD/MM/YYYY" are invalid and you may have issues with slashes in general.

**Dates before standardised time can be inconsistent:** If the zone you are in didn't have a time zone at that time then a Local Mean Time(LMT) which is an offset calculated from the coordinates of the location in the TZ Database is assigned. For detailed explanations of the LMT for your location you can find the relevant file in this GIT repository. My code attempts to calculate this offset and add it back on. Results may vary.

-----------------------------

Weight Conversion

-----------------------------

This command converts one weight into another. You can select the weights in the select boxes in the command.  

InputFromToRoundPrecision
Value to convertUnit selection from the boxUnit selection from the boxCheckbox: ticked will round, unticked will give all the available decimalsNumber of decimal places to round to (ignored if the checkbox isn't ticked)

-----------------------------

Length Conversion

-----------------------------

This command converts one length into another. You can select the lengths in the select boxes in the command.  

Input From To Round Precision
Value to convert Unit selection from the box Unit selection from the box Checkbox: ticked will round, unticked will give all the available decimals Number of decimal places to round to (ignored if the checkbox isn't ticked)

-----------------------------

Volume Conversion

-----------------------------

This command converts one volume into another. You can select the volumes in the select boxes in the command.  

Input From To Round Precision
Value to convert Unit selection from the box Unit selection from the box Checkbox: ticked will round, unticked will give all the available decimals Number of decimal places to round to (ignored if the checkbox isn't ticked)

-----------------------------

Temperature Conversion

-----------------------------

This command converts one temperature into another. You can select the temperature in the select boxes in the command. It automatically rounds to 1 decimal place.  

InputToFrom
Value to convert Unit selection from the boxUnit selection from the box


Updated 2 days ago
Published 3 days ago
StatusIn development
CategoryOther
AuthorPoetryandLilies
Tagssammi, sammi-extension

Purchase

Buy Now$3.00 USD or more

In order to download this project you must purchase it at or above the minimum price of $3 USD. You will get access to the following files:

simpleconversions 1.0.0.sef 30 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.