ScratchData LogoScratchData
Back to Splodgey's profile

Calculator v1.2

SPSplodgey•Created September 15, 2013
Calculator v1.2
8
6
379 views
View on Scratch

Instructions

Type in what you wish to calculate, eg. "1+2" and it will calculate it for you. If you type in 3 numbers, eg "1+2+1", it will still work. If you type an "&" before your calculation, it will apply BIDMAS, including brackets and roots (4√16 will give the 4th root of 16) If you type just "&" it toggles "Permanent BIDMAS" on and off. When it is on, you don't need to type an "&" before your calculation to apply BIDMAS (Order of Operations)

Description

Forum Thread: http://scratch.mit.edu/discuss/topic/15996/?page=1#post-140611 Symbols: (v can be used in place of √) + - * / ^ √ ( ) Cube root is not perfect, because of the limits of Scratch's operators. Notes on Brackets: Brackets only work in "BIDMAS mode". If you type in too few close brackets, it will automatically add close brackets to the end of your calculation, if you type in too many close brackets, it will give an error. Plans: *Mathematical Constants (eg. pi) *Sine, cosine, tangent *Solving equations *Automatic error detection Bugs: *(Bracket a) ^ (Bracket b) returns 0 Changelog: v1.2: *Display is now done using Text Box +Added roots *x^y now works when y is a decimal v1.1.1: *Fixed bug with meta (nested) brackets *Fixed bug with multiple of the same sign in BIDMAS mode (eg. 2+2+2 only calculates 2+2) v1.1: +Added brackets

Project Details

Project ID12404560
CreatedSeptember 15, 2013
Last ModifiedMay 16, 2014
SharedOctober 17, 2013
Visibilityvisible
CommentsAllowed