Phaser Posted January 23, 2022 Share Posted January 23, 2022 Hi Guys To a clever person this could be easy, I'm struggling with it, it's to work out DCA of crypto purchases over time. The problem IF £30.34 buys 0.00128829 of a coin, how much does the full coin cost? I do hope this isn't a taboo topic here, I'm not making a bot, just an analyzer for a .csv downloaded file Thanks for looking. Link to comment Share on other sites More sharing options...
Gianni Posted January 23, 2022 Share Posted January 23, 2022 (edited) it should be: A: B = C: D 30.34: 0.00128829 = C : 1 (C is the unknown) c = (A * D) / B (formula to find C) c = (30.34 * 1) / 0.00128829 1 coin costs 23550.59807962493 Edited January 23, 2022 by Chimp Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Phaser Posted January 23, 2022 Author Share Posted January 23, 2022 Thanks Chimp Link to comment Share on other sites More sharing options...
Phaser Posted January 26, 2022 Author Share Posted January 26, 2022 Hi again. I have another mathematical issue, hopefully there is a solution. I add up a lot of numbers similar to this 0.000012 when the result is in I divide it by another number an example 91.34 / 3069298.36814075 I get a long number with an -e at the end, I was expecting a number similar to 0.000011 Hopefully an easy answer Link to comment Share on other sites More sharing options...
Nine Posted January 26, 2022 Share Posted January 26, 2022 ConsoleWrite(StringFormat("%2.10f", 91.34 / 3069298.36814075) & @CRLF) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Phaser Posted January 26, 2022 Author Share Posted January 26, 2022 Thanks, works perfect Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now