Skip to content

Adding new fonctions in the Unit Converter menu #313

Description

@Marc-NUNES-FR

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

This update adds new conversions in the Unit Converter to Fossify Calculator, allowing users to perform static unit conversions for the following categories:

  • Basic units: Length, Weight, Temperature, Time, Speed
  • Digital: Data storage (Byte, KB, MB, GB, etc.)
  • Systems : Number systems (Binary, Octal, Decimal, Hexadecimal)
  • Tools: Discounts (final price/savings), Date differences (days/months/years), BMI (weight/height)

All conversions are offline and static, meaning no external APIs or internet connection are required.


Future Improvement:
Dynamic currency conversions (e.g., USD → EUR) could be added later using an API like ExchangeRate-API or Webull .

Why do you want this feature?

I’d like to add these conversions because Fossify Calculator is lightweight, privacy-focused, and easy to use—unlike many other calculator apps that include trackers or bloatware. This feature would make it even more versatile, potentially allowing users (including myself) to replace other calculator app (like the Xiaomi calculator) with Fossify’s open-source alternative.

Additional information

  • The implementation is self-contained (no external dependencies).
  • All conversions use standard formulas (e.g., 1 km = 1000 m, °F = (°C × 9/5) + 32).
  • The code is written in Kotlin and follows Android best practices.
  • Attached file: code.txt contains the UnitConverter class with all static conversions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions