3 ms·
The string "3.99" always comes back as a string, but when you need do anything at all to it, it resolves down to the same problem.
by ibejoeb 2y ago
The string "3.99" always comes back as a string, but when you need do anything at all to it, it resolves down to the same problem.
- langcss 2y agoIdeally, one should make illegal state unrepresentable. The problem with a string is there is no guarantee it represents a money amount.