Knowledge (XXG)

GNOME Calculator

Source 📝

1483: 36: 582: 191: 107: 59: 27: 1495: 361: 1515: 1505: 1469: 451:
character, followed by 0 or more spaces, followed by either a numeric value or an existing variable name, e.g. "x = 2" or "result = subtotal" (if subtotal was already assigned a numeric value). A numeric value is assigned to the first variable name. If the value was entered as an existing variable
456:(assign variable) GUI button shows a popup menu of existing variables (and the current value of each), to which selected variable is assigned the current numeric value displayed in the calculator, just as if that variable name were entered in the GUI text field followed by a 1518: 452:
name rather than as a numeric value, the existing variable's value is assigned to the first variable name. Assignment to a variable name that does not exist creates the new variable by name with the assigned value. The
463:
Entering a variable name into the GUI text field substitutes the variable value for the variable name when the expression in the GUI text field is evaluated (e.g. when the keyboard
475:(insert variable) GUI button shows a popup menu of existing variables (and the current value of each); the selected variable name is inserted (appended) into the GUI text field. 1411: 1564: 498:
contains a random value between 0.0 and 1.0 (the value is not displayed; a rand variable is evaluated in an expression when calculating a result).
447:
Values are assigned to variable names by entering in the GUI text input/result field a variable name followed by 0 or more spaces, followed by the
1559: 1487: 371: 510: 1554: 1361: 1544: 902: 1549: 609: 1539: 82: 1308: 1121: 220: 124: 50: 160: 1303: 1163: 535: 35: 739: 714: 216: 120: 444:
Variable names are case-sensitive alphabetical string without spaces. Variable values are numerical strings.
846: 626: 224: 556: 1188: 1091: 918: 1255: 1223: 1116: 1101: 877: 882: 1096: 941: 862: 689: 644: 1218: 1168: 1030: 841: 649: 602: 208: 190: 148: 143: 58: 1356: 1005: 867: 256: 279:– most of the space is taken up by the output, with no on-screen buttons. Supports currency and 1508: 1416: 1178: 1106: 1035: 679: 266: 1447: 1406: 1386: 946: 674: 654: 305: 155: 131: 26: 1437: 1328: 1173: 1040: 1000: 897: 790: 744: 301: 297: 240: 106: 581: 1498: 1351: 1248: 785: 694: 684: 595: 344: 309: 300:, such as the four basic arithmetic operations. Unlike many other calculators, it uses 293: 280: 382: 91: 1533: 1452: 1276: 887: 749: 734: 1473: 1366: 936: 699: 575: 171: 1142: 1111: 972: 967: 962: 795: 764: 669: 659: 634: 425:
modes present features for storing and retrieving values labeled as variables.
1442: 1376: 1371: 1147: 501:
Variable names and values persist between launch and quit of the application.
1421: 1346: 1336: 931: 805: 704: 136: 494:
contains the last "answer" value calculated by the calculator as a result.
249:– an interface with scientific functions, and support for custom variables. 1381: 1291: 1281: 1183: 1137: 836: 800: 1318: 1313: 1298: 1243: 1025: 984: 979: 780: 754: 926: 831: 821: 729: 664: 1468: 1341: 1271: 1233: 1020: 1015: 1010: 892: 872: 759: 618: 515: 270: 212: 1286: 1238: 826: 313: 591: 1213: 1208: 354: 347:
is based on the general keyboard layout since version 3.12.3.
317: 394: 386: 587: 390: 378: 1430: 1399: 1327: 1264: 1201: 1156: 1130: 1084: 1067: 1060: 1053: 993: 955: 911: 855: 814: 773: 722: 713: 625: 166: 154: 142: 130: 116: 81: 49: 478:Two predefined variables are available from the 239:– interface for basic arithmetic, resembling a 603: 8: 19: 1064: 1057: 719: 610: 596: 588: 580: 189: 105: 57: 34: 25: 18: 1488:Free and open-source software portal 487: 483: 479: 472: 468: 464: 457: 453: 448: 438: 434: 426: 337: 333: 329: 325: 321: 527: 372:instructions, advice, or how-to content 292:The GNOME calculator uses the common 7: 1504: 1514: 381:so that it is more encyclopedic or 511:Comparison of software calculators 14: 460:, followed by the numeric value. 1565:Free software programmed in Vala 1513: 1503: 1494: 1493: 1481: 1467: 359: 340:, as on many other calculators. 482:(insert variable) GUI button: 320:, the user must push the keys 1: 1560:Free software programmed in C 343:The decimal separator on the 471:GUI button is pressed). The 255:– financial calculation and 312:. So to calculate e.g. the 1581: 1461: 557:"gnome-calculator 3.12.3" 536:"gnome-calculator 43.0.1" 213:GNOME desktop environment 77: 45: 33: 24: 1555:Software that uses Meson 740:Glade Interface Designer 1545:GNOME Core Applications 225:GNOME Core Applications 1550:Software that uses GTK 1189:Avant Window Navigator 1092:Client-Side Decoration 437:(insert variable) and 433:, used on GUI buttons 215:. It is programmed in 1117:Tango Desktop Project 64:; 2 years ago 1540:Software calculators 211:integrated with the 203:, formerly known as 441:(assign variable). 379:rewrite the content 257:currency conversion 209:software calculator 149:Software calculator 62:/ 16 September 2022 40:GNOME Calculator 40 21: 16:Calculator software 429:is the symbol for 1527: 1526: 1417:The GNOME Project 1395: 1394: 1197: 1196: 1049: 1048: 883:GNOME Connections 627:Core Applications 412: 411: 351:Variable handling 198: 197: 100:/gnome-calculator 69:16 September 2022 1572: 1517: 1516: 1507: 1506: 1497: 1496: 1486: 1485: 1484: 1474:Linux portal 1472: 1471: 1448:Havoc Pennington 1407:GNOME Foundation 1065: 1058: 903:Transmission-gtk 720: 612: 605: 598: 589: 584: 579: 578: 576:Official website 561: 560: 553: 547: 546: 544: 542: 532: 407: 404: 398: 363: 362: 355: 306:postfix notation 298:binary functions 267:bit manipulation 223:and part of the 201:GNOME Calculator 194: 193: 186: 183: 181: 179: 177: 175: 173: 161:GPL-3.0-or-later 132:Operating system 109: 104: 101: 99: 97: 95: 93: 72: 70: 65: 61: 38: 29: 22: 20:GNOME Calculator 1580: 1579: 1575: 1574: 1573: 1571: 1570: 1569: 1530: 1529: 1528: 1523: 1482: 1480: 1466: 1457: 1438:Miguel de Icaza 1426: 1391: 1329:freedesktop.org 1323: 1260: 1193: 1152: 1126: 1080: 1045: 1001:Archive Manager 989: 951: 907: 851: 810: 769: 709: 621: 616: 574: 573: 570: 565: 564: 555: 554: 550: 540: 538: 534: 533: 529: 524: 507: 489: 485: 481: 474: 470: 466: 459: 455: 450: 440: 436: 428: 408: 402: 399: 376: 364: 360: 353: 339: 335: 331: 327: 323: 310:unary functions 302:prefix notation 290: 281:unit conversion 241:desk calculator 233: 188: 170: 112: 90: 73: 68: 66: 63: 41: 17: 12: 11: 5: 1578: 1576: 1568: 1567: 1562: 1557: 1552: 1547: 1542: 1532: 1531: 1525: 1524: 1522: 1521: 1511: 1501: 1491: 1477: 1462: 1459: 1458: 1456: 1455: 1450: 1445: 1440: 1434: 1432: 1428: 1427: 1425: 1424: 1419: 1414: 1409: 1403: 1401: 1397: 1396: 1393: 1392: 1390: 1389: 1384: 1379: 1374: 1369: 1364: 1359: 1354: 1352:NetworkManager 1349: 1344: 1339: 1333: 1331: 1325: 1324: 1322: 1321: 1316: 1311: 1306: 1301: 1296: 1295: 1294: 1284: 1279: 1274: 1268: 1266: 1262: 1261: 1259: 1258: 1253: 1252: 1251: 1246: 1236: 1231: 1230: 1229: 1226: 1221: 1216: 1205: 1203: 1199: 1198: 1195: 1194: 1192: 1191: 1186: 1181: 1176: 1171: 1166: 1160: 1158: 1154: 1153: 1151: 1150: 1145: 1140: 1134: 1132: 1128: 1127: 1125: 1124: 1119: 1114: 1109: 1104: 1099: 1094: 1088: 1086: 1082: 1081: 1079: 1078: 1075: 1071: 1069: 1062: 1061:User interface 1055: 1051: 1050: 1047: 1046: 1044: 1043: 1038: 1033: 1028: 1023: 1018: 1013: 1008: 1003: 997: 995: 991: 990: 988: 987: 982: 977: 976: 975: 970: 959: 957: 953: 952: 950: 949: 944: 942:SoundConverter 939: 934: 929: 924: 921: 915: 913: 909: 908: 906: 905: 900: 895: 890: 885: 880: 875: 870: 865: 859: 857: 853: 852: 850: 849: 844: 839: 834: 829: 824: 818: 816: 812: 811: 809: 808: 803: 798: 793: 788: 783: 777: 775: 771: 770: 768: 767: 762: 757: 752: 747: 742: 737: 732: 726: 724: 717: 711: 710: 708: 707: 702: 697: 692: 687: 682: 677: 672: 667: 662: 657: 652: 647: 642: 637: 631: 629: 623: 622: 617: 615: 614: 607: 600: 592: 586: 585: 569: 568:External links 566: 563: 562: 548: 526: 525: 523: 520: 519: 518: 513: 506: 503: 467:button or the 410: 409: 367: 365: 358: 352: 349: 294:infix notation 289: 286: 285: 284: 274: 269:operators and 265:– a view with 260: 250: 244: 232: 229: 196: 195: 168: 164: 163: 158: 152: 151: 146: 140: 139: 134: 128: 127: 118: 114: 113: 111: 110: 87: 85: 79: 78: 75: 74: 55: 53: 51:Stable release 47: 46: 43: 42: 39: 31: 30: 15: 13: 10: 9: 6: 4: 3: 2: 1577: 1566: 1563: 1561: 1558: 1556: 1553: 1551: 1548: 1546: 1543: 1541: 1538: 1537: 1535: 1520: 1512: 1510: 1502: 1500: 1492: 1490: 1489: 1478: 1476: 1475: 1470: 1464: 1463: 1460: 1454: 1453:Karen Sandler 1451: 1449: 1446: 1444: 1441: 1439: 1436: 1435: 1433: 1429: 1423: 1420: 1418: 1415: 1413: 1410: 1408: 1405: 1404: 1402: 1398: 1388: 1385: 1383: 1380: 1378: 1375: 1373: 1370: 1368: 1365: 1363: 1360: 1358: 1355: 1353: 1350: 1348: 1345: 1343: 1340: 1338: 1335: 1334: 1332: 1330: 1326: 1320: 1317: 1315: 1312: 1310: 1307: 1305: 1302: 1300: 1297: 1293: 1290: 1289: 1288: 1285: 1283: 1280: 1278: 1275: 1273: 1270: 1269: 1267: 1263: 1257: 1254: 1250: 1247: 1245: 1242: 1241: 1240: 1237: 1235: 1232: 1227: 1225: 1222: 1220: 1217: 1215: 1212: 1211: 1210: 1207: 1206: 1204: 1200: 1190: 1187: 1185: 1182: 1180: 1177: 1175: 1172: 1170: 1167: 1165: 1162: 1161: 1159: 1155: 1149: 1146: 1144: 1141: 1139: 1136: 1135: 1133: 1129: 1123: 1120: 1118: 1115: 1113: 1110: 1108: 1105: 1103: 1100: 1098: 1095: 1093: 1090: 1089: 1087: 1083: 1076: 1074:Mutter on GSK 1073: 1072: 1070: 1066: 1063: 1059: 1056: 1052: 1042: 1039: 1037: 1034: 1032: 1029: 1027: 1024: 1022: 1019: 1017: 1014: 1012: 1009: 1007: 1004: 1002: 999: 998: 996: 992: 986: 983: 981: 978: 974: 971: 969: 966: 965: 964: 961: 960: 958: 954: 948: 945: 943: 940: 938: 935: 933: 930: 928: 925: 922: 920: 917: 916: 914: 910: 904: 901: 899: 896: 894: 891: 889: 888:GNOME Fractal 886: 884: 881: 879: 876: 874: 871: 869: 866: 864: 861: 860: 858: 854: 848: 845: 843: 840: 838: 835: 833: 830: 828: 825: 823: 820: 819: 817: 813: 807: 804: 802: 799: 797: 794: 792: 789: 787: 784: 782: 779: 778: 776: 772: 766: 763: 761: 758: 756: 753: 751: 750:GNOME Devhelp 748: 746: 743: 741: 738: 736: 733: 731: 728: 727: 725: 721: 718: 716: 712: 706: 703: 701: 698: 696: 693: 691: 688: 686: 683: 681: 678: 676: 673: 671: 668: 666: 663: 661: 658: 656: 653: 651: 650:Character Map 648: 646: 643: 641: 638: 636: 633: 632: 630: 628: 624: 620: 613: 608: 606: 601: 599: 594: 593: 590: 583: 577: 572: 571: 567: 559:. 2013-06-15. 558: 552: 549: 537: 531: 528: 521: 517: 514: 512: 509: 508: 504: 502: 499: 497: 493: 476: 461: 445: 442: 432: 424: 420: 416: 406: 403:November 2011 396: 392: 388: 384: 380: 374: 373: 368:This section 366: 357: 356: 350: 348: 346: 341: 319: 315: 311: 307: 303: 299: 295: 287: 282: 278: 275: 272: 268: 264: 261: 258: 254: 251: 248: 245: 242: 238: 235: 234: 230: 228: 226: 222: 218: 214: 210: 206: 202: 192: 185: 169: 165: 162: 159: 157: 153: 150: 147: 145: 141: 138: 135: 133: 129: 126: 122: 119: 115: 108: 103: 89: 88: 86: 84: 80: 76: 60: 54: 52: 48: 44: 37: 32: 28: 23: 1479: 1465: 1367:X.Org Server 1011:dconf-editor 937:Sound Juicer 639: 551: 539:. Retrieved 530: 500: 495: 491: 477: 462: 446: 443: 430: 422: 418: 414: 413: 400: 377:Please help 369: 342: 291: 276: 262: 252: 246: 236: 204: 200: 199: 56:43.0.1  1519:WikiProject 1143:GNOME Panel 1112:GNOME Shell 963:GNOME Games 847:Simple Scan 796:GNOME LaTeX 765:Gtranslator 723:Development 680:Text Editor 541:16 December 423:Programming 387:Wikiversity 273:conversion. 263:Programming 184:.Calculator 1534:Categories 1443:Luis Villa 1377:PackageKit 1372:PulseAudio 1202:GNOME Base 1148:Clearlooks 1054:Components 655:Dictionary 640:Calculator 522:References 395:Wikivoyage 345:number pad 117:Written in 83:Repository 1422:Outreachy 1400:Community 1347:GStreamer 1337:AppStream 1097:Cantarell 994:Utilities 932:Rhythmbox 806:OCRFeeder 791:Evolution 419:Financial 391:Wikibooks 370:contains 253:Financial 207:, is the 205:gcalctool 137:Unix-like 1499:Category 1382:HarfBuzz 1292:GnomeVFS 1282:GNOME-DB 1184:GNOME Do 1169:Cinnamon 1138:Metacity 1068:GNOME 40 1031:Seahorse 856:Internet 842:Shotwell 837:Inkscape 815:Graphics 801:Gnumeric 695:Terminal 690:Snapshot 685:Software 645:Calendar 505:See also 431:variable 415:Advanced 288:Notation 277:Keyboard 247:Advanced 1509:Commons 1362:Wayland 1357:Poppler 1319:libxml2 1314:libxslt 1304:Tracker 1299:Librsvg 1277:Keyring 1244:GObject 1228:Clutter 1164:Adwaita 1131:GNOME 2 1085:GNOME 3 1026:GParted 1006:Brasero 985:PyChess 980:gbrainy 923:EasyTag 919:Banshee 868:Empathy 781:AbiWord 755:Nemiver 735:Builder 465:↵ Enter 167:Website 156:License 67: ( 1431:People 1412:GUADEC 1179:Diodon 1107:Mutter 1036:Tomboy 927:Pitivi 832:gThumb 822:F-Spot 774:Office 730:Anjuta 715:Extras 700:Videos 665:Evince 421:, and 385:it to 332:, not 304:, not 187:  182:.gnome 174:.gnome 98:/GNOME 94:.gnome 92:gitlab 1387:Cairo 1342:D-Bus 1272:dconf 1265:Other 1234:Pango 1157:Other 1021:gnote 1016:gedit 973:Mines 968:Chess 956:Games 947:sushi 912:Media 893:Gobby 878:Geary 873:Ekiga 863:Balsa 760:Geany 675:Loupe 670:Files 660:Disks 635:Boxes 619:GNOME 516:KCalc 393:, or 271:radix 237:Basic 231:Views 1309:Vala 1287:GVfs 1256:IBus 1239:GLib 1174:MATE 1122:Orca 1041:Yelp 898:Jami 827:GIMP 745:Meld 543:2022 496:rand 488:rand 486:and 383:move 314:sine 308:for 296:for 221:Vala 219:and 180:/org 178:/app 176:.org 172:apps 144:Type 125:Vala 102:.git 96:.org 1249:GIO 1224:ATK 1219:GSK 1214:GDK 1209:GTK 1102:GDM 786:Dia 705:Web 492:ans 484:ans 338:sin 322:sin 318:one 316:of 1536:: 490:. 480:←R 473:←R 454:→R 439:→R 435:←R 417:, 389:, 227:. 123:, 1077:… 611:e 604:t 597:v 545:. 469:= 458:= 449:= 427:R 405:) 401:( 397:. 375:. 336:+ 334:1 330:= 328:+ 326:1 324:+ 283:. 259:. 243:. 217:C 121:C 71:)

Index



Stable release
Edit this on Wikidata
Repository
gitlab.gnome.org/GNOME/gnome-calculator.git
Edit this at Wikidata
C
Vala
Operating system
Unix-like
Type
Software calculator
License
GPL-3.0-or-later
apps.gnome.org/app/org.gnome.Calculator
Edit this on Wikidata
software calculator
GNOME desktop environment
C
Vala
GNOME Core Applications
desk calculator
currency conversion
bit manipulation
radix
unit conversion
infix notation
binary functions
prefix notation

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.