{{ message }}

Instantly share code, notes, and snippets.

# bootleg224/HandleBarsHelper-Math.js Secret

Last active May 6, 2022
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 MATH HELPERS

A = {{submissionForm.integerA}}
B = {{submissionForm.integerB}}
BigN = {{submissionForm.largeIntegerA}}
X = {{submissionForm.decimalNumberA}}
Y = {{submissionForm.decimalNumberB}}
abs(A): {{abs submissionForm.integerA}}
divide(B / A): {{divide submissionForm.integerB submissionForm.integerA }}
minus(A-B): {{minus submissionForm.integerA submissionForm.integerB }}
multiply(A*B): {{multiply submissionForm.integerA submissionForm.integerB }}
plus(A+B): {{plus submissionForm.integerA submissionForm.integerB }}
random between (A,B): {{random submissionForm.integerA submissionForm.integerB }}
round(X): {{round submissionForm.decimalNumberA}}

abs(A): {{abs submissionForm.integerA}}
divide(B / A): {{divide submissionForm.integerB submissionForm.integerA }}
minus(A-B): {{minus submissionForm.integerA submissionForm.integerB }}
multiply(A*B): {{multiply submissionForm.integerA submissionForm.integerB }}
plus(A+B): {{plus submissionForm.integerA submissionForm.integerB }}
random between (A,B): {{random submissionForm.integerA submissionForm.integerB }}
round(X): {{round submissionForm.decimalNumberA}}
multiply(X*Y): {{multiply submissionForm.decimalNumberA submissionForm.decimalNumberB}}
toInt(X*Y): {{toInt (multiply submissionForm.decimalNumberA submissionForm.decimalNumberB)}}
Byte Format (BigN): {{bytes submissionForm.largeIntegerA}} {{!shows disk space in how many bytes, kb, mb, gb}}