Using a given result

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

ninjabunny14
Posts: 27
Joined: Wed May 29, 2013 10:32 am

Re: Using a given result

Post by ninjabunny14 » Tue Jun 11, 2013 7:10 pm

I find this very strange... how come yours works and mine doesn't I got:
price: 525000
UO %age: 15
Uo: 7875000
ITS fee: 35437.5
Using the exact same lite stack I posted. Any ideas? Did you modify any code at all?
Getting there... Very slowly ;)

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Using a given result

Post by Simon » Tue Jun 11, 2013 8:30 pm

HI,
No, I didn't do anything to your stack.
Select "Private"
Enter "525000" in the purchase price
Hit "GO"

results:
Usual Obligation @ 0.04 21000
ITSFee @ 45.0% 94.5

I'm running it on a Win7 machine. LC 6.0.0 & LC 5.5.5

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

ninjabunny14
Posts: 27
Joined: Wed May 29, 2013 10:32 am

Re: Using a given result

Post by ninjabunny14 » Wed Jun 12, 2013 7:15 pm

Yeah slight issue on my department.... it appears I either forgot to select private/company so I was turning out big figures. Thank you for all your help!! :D :D
Is there any way I can make the UO %age say 4% for example (instead of 0.04) and the maths still working knowing that LiveCode doesn't know what % means... :P
Also, is there any way I can add a £ prefix to the UO & ITS fee fields because it is currency?
Getting there... Very slowly ;)

icouto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Wed May 29, 2013 1:54 am

Re: Using a given result

Post by icouto » Wed Oct 09, 2013 4:46 am

May be a bit too late now, but...:
ninjabunny14 wrote:Also, is there any way I can add a £ prefix to the UO & ITS fee fields because it is currency?
Have a look at this:
https://github.com/luxlogica/easylocalnumber

Post Reply