battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.


battle programming a forum for elite programmers with extreme will power to sharpen their skills
 
HomeGallerySearchRegisterLog in
 

 dICurrency skill convert sums according to exchange rates from API

Go down 
2 posters
AuthorMessage
Moti Barski
super
super
Moti Barski

Posts : 568
Join date : 2011-08-02

dICurrency skill convert sums according to exchange rates from API Empty
PostSubject: dICurrency skill convert sums according to exchange rates from API   dICurrency skill convert sums according to exchange rates from API EmptyFri Feb 28, 2020 9:20 pm

video :


https://streamable.com/1m22r

example :
x euro to dollar // input
n dollas // output

has 3 currency at this point

classes added :
Currency
DICurrency

updates TTSVoice with new relevant voice files

and one line of code in the cohabit class to add this skill

this skill can also be used as a level 2 or 3 BTW

hadouken

_________________
MB over and out emp it up
Back to top Go down
kurosen
codding
codding
kurosen

Posts : 293
Join date : 2012-04-17

dICurrency skill convert sums according to exchange rates from API Empty
PostSubject: Re: dICurrency skill convert sums according to exchange rates from API   dICurrency skill convert sums according to exchange rates from API EmptyFri Feb 28, 2020 9:23 pm

Back to top Go down
kurosen
codding
codding
kurosen

Posts : 293
Join date : 2012-04-17

dICurrency skill convert sums according to exchange rates from API Empty
PostSubject: Re: dICurrency skill convert sums according to exchange rates from API   dICurrency skill convert sums according to exchange rates from API EmptyMon Apr 20, 2020 6:57 pm

updated DICurrency class to include offline conversions
https://streamable.com/r1plwu
Back to top Go down
kurosen
codding
codding
kurosen

Posts : 293
Join date : 2012-04-17

dICurrency skill convert sums according to exchange rates from API Empty
PostSubject: Re: dICurrency skill convert sums according to exchange rates from API   dICurrency skill convert sums according to exchange rates from API EmptyMon Apr 20, 2020 7:00 pm

maybe we should add
Double sum = 1.0;
sum = (sum * 9 / 5) + 32;// celsius to fahrenheit formula
System.out.println(sum);
Double sum2 = 10.0;
sum2 = (sum2 - 32) * 5 / 9;// fahrenheit to celsius formula
System.out.println(sum2);
Back to top Go down
 
dICurrency skill convert sums according to exchange rates from API
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: the LivinGrimoire-
Jump to: