Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
badhitman committed Sep 2, 2019
1 parent c15f315 commit cd89519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class Startup
Данный привязчик позволяет использовать любой разделитель дроби. Любой разделитель принудительно замениться на системный перед конвертацией.

```C#
Regex FloatSeparator = new Regex(@"[.,]", RegexOptions.Compiled);
////////////////////////////////////////////////////
// заменим дробный разделитель на текущий системный
FieldValueAsNormalString = FloatSeparator.Replace(FieldValueAsNormalString, CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator);
Expand Down

0 comments on commit cd89519

Please sign in to comment.