19 Topics

Member Avatar for
Member Avatar for rpv_sen

Hi friends i am working for an shopping cart using php script, i placed a drop down option to display currency rate as per user selection(INR and USD). By default it will display all the price in INR, if any user select USD, then it has to show all the …

Member Avatar for rproffitt
0
3K
Member Avatar for vegaseat

Again, calculate the minimum number of bills or coins required for a given amount of money (change). This time we will use a Go map instead of a csv string converted to a structure.

0
407
Member Avatar for vegaseat

This Go snippet calculates the minimum number of bills or coins needed for a given amount of money (change) requested. The program also gives the denomination and number. US curency is used in this example, but can be changed to another currency.

1
450
Member Avatar for droid2014

Hi - I am having an issue and can't seem to get my head around it. I am trying to calculate GBP from EUR - which should be easy but for some reason my returned value is always a few GBP more than it should be, yet I do the …

Member Avatar for droid2014
0
222
Member Avatar for LastMitch

Hi I'm having an issue echo out the `euro currency` sign with the price converted base on the `$exchange_rate = 0.7746;` Here is my code: <?php $currency = true; $format = '&euro; %2f'; $exchange_rate = 0.7746; function currency_valve($data) { $price = $data[1]; $cpercent = $data[2]; $cvalve = isset ($_GLOBALS['currency']) && …

Member Avatar for LastMitch
0
245
Member Avatar for mcddewitt

Hello I am having trouble converting a long (cents) into currency format. My Code: l long doublePayment = 1099; //Should equal $10.99 DecimalFormat dFormat = new DecimalFormat(); String formattedString = dFormat.format(doublePayment); System.out.println(formattedString); Output: 1,099 I also tried: long doublePayment = 1099; NumberFormat n = NumberFormat.getCurrencyInstance(Locale.US); String s = n.format(doublePayment); System.out.println(s); …

Member Avatar for JamesCherrill
0
168
Member Avatar for skp03

i want to design the Currency gadget .....that should work in all the operating system it should be something like installation application as shown in the above daigram so please help me out Thank you ![currency_converter](/attachments/small/3/currency_converter.png "align-right")

Member Avatar for Mike Askew
0
188
Member Avatar for dcalladi

Hi Guys, I'm looking the syntax for a input mask that will allow me to input 1.23, 12.34, 123.45 into the JFormattedTextField i found something like ###.## but that doesn't work but something like ###-## wud work. just wondering if anyone knows how to do this with a mask or …

Member Avatar for mKorbel
0
349
Member Avatar for nickmi

Good afternoon Well my idea is simple.What i want to do is to create a currency converter.Pretty easy task, but i want the currency rate to be updated somehow by an external server, probably from an website.Although i have experience in programming i have no clue how to use an …

Member Avatar for hfx642
0
205
Member Avatar for Octipus

All right. So i have child, parent, activity and register table and i want know how much money a parent will pay for his child if the child have 1 or more activities. So i came out with this code: [CODE]SELECT CONCAT_WS (' ', parent_title, parent_fname, parent_sname) AS 'Parent/Carer Name', …

Member Avatar for Octipus
0
212
Member Avatar for mprabuw

Hello Dani Web Forum, I'm really new to C. I have an assignment, which I think it's very hard to solve. I have to create a Currency Converter Program that reads data from txt files. The program should also be able to read arguments (argv[]). I'm really confused since it's …

Member Avatar for mprabuw
0
769
Member Avatar for sammry

I am currently able to achieve number format as 1,000,000,000 but I want to get it as 1,00,00,00,000. How can I achieve this? can some one help please. Currently I use as below. [CODE]<? echo number_format($row["SUM(Amount)"],0); ?>[/CODE]

0
210
Member Avatar for CatRambo

[ATTACH=RIGHT]16322[/ATTACH]This week players of Facebook games found themselves unexpectedly rewarded for their playtime. The frequent messages that Facebook has awarded the gamer with credits signals Facebook's push to implement [URL="http://www.facebook.com/help/?page=837"]Facebook Credits[/URL], a virtual currency intended to standardize payments across the multitude of Facebook applications. The push of the credits program …

Member Avatar for netvani
0
421
Member Avatar for rookanga

Im trying to make a fast food program on which the user will input the amount that he has, then he will click on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I got an idea on what to …

Member Avatar for rookanga
0
948
Member Avatar for jlivvers

Hi, im my c# windows application i have some reports involving currency. However the way to set the format that I've seen "C" sets the currency symbol to the dollar sign instead of the GBP sound which is the one i need. I've checked my systems regional settings and they're …

Member Avatar for Ketsuekiame
0
171
Member Avatar for mike42intn

I am new to Visual Basic I'm a student and im working on a payroll calculator program I got it to where it will display user input now i have to get it to calculate pay based on which radio button is selected im doing this one at a time …

Member Avatar for codeorder
0
159
Member Avatar for PomonaGrange

Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone …

Member Avatar for fxm
0
3K
Member Avatar for xka

Hi, I am a total newbie to programming, so I do not know much about it. However I have created this very basic program which converts 2 currencies. I would appreciate it if I received some constructive criticism so I can improve my programming skills. Thanks, xka [CODE] #include <iostream> …

Member Avatar for jonsca
0
184
Member Avatar for Brian.oco

Taxes, inflation, oil prices – even the price of corn are dominating the economic headlines these days. But should they overshadow the story of the (briefly resurgent) U.S. dollar? I don't think so - and I don't think anyone in the tech sector should sell the dollar story short, either. …

0
155

The End.