Here’s a code snippet at the bottom of the post that you can take inspiration from:
c# - How to code metric prefix (kilo,mega,giga etc) and do calculation on them? - Stack Overflow
Here’s a code snippet at the bottom of the post that you can take inspiration from:
c# - How to code metric prefix (kilo,mega,giga etc) and do calculation on them? - Stack Overflow