Skip to content

Conversation

@vincentaudebert
Copy link
Contributor

Allow to specify a base (other than 10) on formatUnit function.

This way 4294967296 can format to 4 GB for example.

@vincentaudebert vincentaudebert added the enhancement New feature or request label Jul 26, 2023
@vincentaudebert vincentaudebert self-assigned this Jul 26, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jul 26, 2023

🦋 Changeset detected

Latest commit: 0c369f5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@scaleway/use-i18n Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Merging #1405 (0c369f5) into main (a1c8773) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1405   +/-   ##
=======================================
  Coverage   98.65%   98.65%           
=======================================
  Files          24       24           
  Lines         669      669           
  Branches       95       95           
=======================================
  Hits          660      660           
  Misses          1        1           
  Partials        8        8           
Files Changed Coverage Δ
packages/use-i18n/src/formatUnit.ts 100.00% <ø> (ø)

@vincentaudebert vincentaudebert merged commit 70da89b into main Jul 26, 2023
@vincentaudebert vincentaudebert deleted the fix/format-unit branch July 26, 2023 13:11
@github-actions github-actions bot mentioned this pull request Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants