[gnome-calculator] Show 4 decimals in converter instead of only 2 (fixes #203)
- From: Robert Roth <robertroth src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-calculator] Show 4 decimals in converter instead of only 2 (fixes #203)
 
- Date: Fri,  5 Feb 2021 09:05:21 +0000 (UTC)
 
commit 83708ab1c0cf12526d0a3662671295b7447fec1f
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Feb 5 11:05:13 2021 +0200
    Show 4 decimals in converter instead of only 2 (fixes #203)
 lib/unit.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/unit.vala b/lib/unit.vala
index 73d73a18..b214d0c4 100644
--- a/lib/unit.vala
+++ b/lib/unit.vala
@@ -364,7 +364,7 @@ public class Unit : Object
 
     public Unit (string name, string display_name, string format, string? from_function, string? 
to_function, string symbols)
     {
-        serializer = new Serializer (DisplayFormat.AUTOMATIC, 10, 2);
+        serializer = new Serializer (DisplayFormat.AUTOMATIC, 10, 4);
         serializer.set_leading_digits (6);
         serializer.set_show_thousands_separators (true);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]