Dukascopy
 
 
Wiki JStore Search Login

Rounding
 Post subject: Rounding Post rating: 0   New post Posted: Mon 22 Aug, 2016, 11:44 

User rating: 0
Joined: Mon 12 Jan, 2015, 16:12
Posts: 11
Location: United States, Virginia
Dear Support Team,
Is there any rounding function in visual jforex?
Thank you in advance,
pedion


 
 Post subject: Re: Rounding Post rating: 0   New post Posted: Mon 29 Aug, 2016, 17:54 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

Rounding function is unfortunately not available but you can use number's truncation.
Check this if you're interested: https://www.dukascopy.com/swiss/english ... 40&t=53122

Cheers


 
 Post subject: Re: Rounding Post rating: 0   New post Posted: Fri 16 Dec, 2016, 14:36 

User rating: 0
Joined: Mon 12 Jan, 2015, 16:12
Posts: 11
Location: United States, Virginia
Hello,
Unfortunately I can't use it because I'd like to round trade amount.
(I'd like to subtract 1000 from my "unrounded"/original amount again and again till the result will be equal or smaller than 1000 and finally subtract the remnant from the original amount, but don't know how to make the above mentioned cycle.)
Regards,
pedion


 
 Post subject: Re: Rounding Post rating: 0   New post Posted: Fri 16 Dec, 2016, 17:18 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi !

I've made a workaround that might fit with your requirement.
Attached ...


Attachments:
rounding_workaround.vfs [29.75 KiB]
Downloaded 100 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Rounding Post rating: 0   New post Posted: Mon 19 Dec, 2016, 07:38 

User rating: 0
Joined: Mon 12 Jan, 2015, 16:12
Posts: 11
Location: United States, Virginia
Dear Amine,
Thank you for your quick response and your help.
Best regards,
pedion


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com