Humanizer icon indicating copy to clipboard operation
Humanizer copied to clipboard

Titlize removes decimal point

Open TQ-Benji opened this issue 2 years ago • 3 comments

Odd behavior it's removing the decimal point

Example "thisIs3.5mmLong".Titleize() => "This Is 3 5mm Long"

Expect it to return "This Is 3.5mm Long"

NET 7 Humanizer version 2.14.1

TQ-Benji avatar Apr 11 '23 11:04 TQ-Benji

I can't find this method. Where is it located?

Exilon24 avatar May 04 '23 07:05 Exilon24

Hi, It's this method

https://github.com/Humanizr/Humanizer/blob/1bdd7a1bad03fd001d04fc0e252d279b4e785818/src/Humanizer/InflectorExtensions.cs#L62

TQ-Benji avatar May 04 '23 07:05 TQ-Benji

I have fixed this issue but awaiting pull request approval

Ltwo3five avatar May 04 '23 14:05 Ltwo3five