This content has been marked as final.
Show 4 replies

1. Re: How do you input a equation in a mathematical format?
kglad Jul 11, 2013 3:34 PM (in response to yahya12)var radicand:Number = b*b4*a*c;
if(radicand>=0){
var rad:Number = Math.sqrt(radicand);
var x1:Number = (b+rad)/(2*a);
var x2:Number = (brad)/(2*a);
} else {
rad= Math.sqrt(radicand);
var s1:String = (b/(2*a))+"+i"+(rad/(2*a));
var s2:String = (b/(2*a))+"i"+(rad/(2*a));
}

2. Re: How do you input a equation in a mathematical format?
yahya12 Jul 11, 2013 5:12 PM (in response to kglad)Sorry I meant like in a dynamic label so the user can see the above equation visionary. Not just the answer.

3. Re: How do you input a equation in a mathematical format?
Ned Murphy Jul 11, 2013 6:23 PM (in response to yahya12)You would have to handcraft it so that the input fields and symbols can dynamically adjust to user input.

4. Re: How do you input a equation in a mathematical format?
kglad Jul 11, 2013 9:47 PM (in response to yahya12)for a simple oneoff formula like that, just import a screenshot like you showed in your message. otherwise, you need to use a font that includes mathematical symbols.