From 25a1b7bbf08c89d59e18ef708ed47e71ce3c7129 Mon Sep 17 00:00:00 2001 From: ge Date: Sun, 22 Dec 2024 05:37:42 +0300 Subject: [PATCH] fix example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07dfa1a..1111cda 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,12 @@ import dataunits fn main() { kilobytes := dataunits.convert(500, dataunits.mbit, dataunits.kb) - println(kilobytes) // 62500 + println(kilobytes) // 62500.0 mebibytes := (dataunits.gib * 15).mib() - println(mebibytes) // 15360 + println(mebibytes) // 15360.0 bytes := dataunits.DataSize(2000 * dataunits.gib).bytes() - println(bytes) // 4.294967296e+12 == 4294967296000 + println(bytes) // 2.147483648e+12 == 2147483648000 } ```