Skip to content

fix: convert string percentages to decimal#1

Open
zosmak wants to merge 4 commits intoOMNIALowCode:masterfrom
zosmak:master
Open

fix: convert string percentages to decimal#1
zosmak wants to merge 4 commits intoOMNIALowCode:masterfrom
zosmak:master

Conversation

@zosmak
Copy link

@zosmak zosmak commented Jun 17, 2019

No description provided.

if (attribute.Target.Equals("_code"))
return value.ToString().Substring(0, Math.Min(31, value.ToString().Length)); // TODO: Deal the the difference of size in codes
// Remove spaces from the IncidentCategory code
if (attribute.Target.Equals("IncidentCategory"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change shouldn't be part of this project, since it seems a scenario specific from your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants