Search found 8 matches

by avivchen64
Thu Sep 06, 2018 9:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

actually there were 2 problems, the first one was the subtraction problem,
I couldn't do it, the max(67-age) didn't work for me... the code with tAge worked for me.
the second prob was the fact that failed tries I did still were written in the input field.

have a great day!
Aviv
by avivchen64
Thu Sep 06, 2018 3:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

Hi all,
thank you for your help, you're the best!
I finally figured this out, couldn't do it without you!
hope you all having a great day <3 , if not hope it'll get better ASAP.

thanks again,
Aviv
by avivchen64
Wed Sep 05, 2018 8:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

I now got to a conclusion that the problem is the subtracting the age from 67,
somebody has an alternate way to do that?

Klaus, tried what you suggested, no luck.
by avivchen64
Wed Sep 05, 2018 6:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

hi Klaus,
I did as you suggested but still, no luck.
it didn't help,
do you have another way to solve problems like this?

Aviv
by avivchen64
Wed Sep 05, 2018 2:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

put max(1,67-age) into x -- avoid division by zero sorry to bug, but I live code can't run this line and say there's an error here, I tried to figure out what's wrong but I don't seem to be able to. this is the error: excution error at line 21 (Operators -: error in right operand), char 1 it worked...
by avivchen64
Wed Sep 05, 2018 1:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

oh my god! thank you very much! you're a life saver! <3
a big thanks to all of those who tried! you've helped me too!
by avivchen64
Thu Aug 30, 2018 5:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

Re: math

This formula's result is how much money you need to invest in the NASDAQ per year to have 1M dollars by retirement, this is not something that I can change, the number that changes by user of the app is his age. his age the part of the formula that changes I need to insert a number that the user gav...
by avivchen64
Thu Aug 30, 2018 9:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: math
Replies: 27
Views: 14259

math

Hi there,
I'm trying to make a function to process a number through a formula:

1000000/((((1+10%)^(67- {the number} ))-1)/10%)

btw this number can be changed by the user, and then there'll be a different result.
Thanks for your help,
Aviv