summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-common.rst8
-rw-r--r--core/api-exchange.rst7
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