Skip to content

Commit

Permalink
Add faq with precision (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shramp authored May 23, 2022
1 parent c8647d7 commit ae56698
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 9 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
description: Frequently Asked Questions
---

# FAQ

## What is the precision of MOB?

The atomic unit for MOB is picoMOB, which is 1e-12. You need u64 to represent MOB, and many frameworks, DBs, and languages top out at u32 or i64. This is why Full-Service json responses are all strings. For i64 issues there is technically no loss of precision, but you need to cast back to u64 when fetching data.
4 changes: 0 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ Full-service is MobileCoin's wallet backend. With full-service you can:
- For an introduction to using full-service check out the guide to [accounts and transactions](tutorials/receive-mob).
- For detailed information on how full-service stores data, check out the guide to [database usage](tutorials/database-usage.md).
- If you are having issues sending or receiving MOB, check out the guide to [resolving disputes](tutorials/resolve-disputes.md).




3 changes: 3 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@
* [Resolve Disputes](tutorials/resolve-disputes.md)
* [View Only Account](usage/view-only-account/README.md)
* [Transaction Signer](usage/view-only-account/transaction-signer.md)

## Frequently Asked Questions
[FAQ](FAQ.md)

0 comments on commit ae56698

Please sign in to comment.