Brave crashing if a fraction is entered in IPFS size section

Description of the issue:
The brave browser stops suddenly when a fraction digit like 0.5 ,is entered in the IPFS size section.
How can this issue be reproduced?

  1. Open Settings
  2. Goto IPFS section from the side menu
  3. undersize change 1 to 0.5 the press “enter”

Expected result:
I think It needs to allow to store fraction sized data.

Brave Version( check About Brave):

Version 1.34.80 Chromium: 97.0.4692.71 (Official Build) (64-bit)