diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-02-08 17:00:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-02-08 17:00:22 +0100 |
commit | added705853e4e4097d146f67881c064d24f76b6 (patch) | |
tree | 7dd122a39976162e5a978440d2c7d36d0e24997f | |
parent | 7d63c95d0f779a2ade14896af9d4b304e038f826 (diff) | |
download | docs-added705853e4e4097d146f67881c064d24f76b6.tar.gz docs-added705853e4e4097d146f67881c064d24f76b6.tar.bz2 docs-added705853e4e4097d146f67881c064d24f76b6.zip |
fix stefan_lin type
-rw-r--r-- | core/api-common.rst | 8 | ||||
-rw-r--r-- | core/api-exchange.rst | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index 5dc0c791..bdf3ad81 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -352,6 +352,14 @@ Integers // JavaScript numbers restricted to integers. type Integer = number; +Floats +^^^^^^ + +.. ts:def:: Float + + // JavaScript numbers. + type Float = number; + Ages ^^^^ diff --git a/core/api-exchange.rst b/core/api-exchange.rst index f7d63d0e..b4f2c3cb 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -174,10 +174,9 @@ possibly by using HTTPS. // Linear cost factor for the STEFAN curve used // to (over) approximate fees payable by amount. // - // Note that the total to be paid is first to be - // divided by the smallest denomination to obtain - // the value to be multiplied with. - stefan_lin: Amount; + // Note that this is a scalar, as it is multiplied + // with the actual amount. + stefan_lin: Float; // Type of the asset. "fiat", "crypto", "regional" // or "stock". Wallets should adjust their UI/UX |