Changeset 1112 for Scheduling/trunk/cs/bsdx0200GUISourceCode/Patient.cs
- Timestamp:
- Mar 24, 2011, 9:26:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/Patient.cs
r1111 r1112 54 54 { 55 55 if (Age.TotalDays / 365.24 > 5) 56 return Math.Floor((Age.TotalDays / 365.24)).ToString() + " years";56 return Math.Floor((Age.TotalDays / 365.24)).ToString() + " " + strings.years; 57 57 else 58 return Math.Floor((Age.TotalDays / 365.24)).ToString() + " years &"59 + Math.Floor(Age.TotalDays % 365.24 / 30).ToString() + " months";58 return Math.Floor((Age.TotalDays / 365.24)).ToString() + " " + strings.years + " " + strings.and + " " 59 + Math.Floor(Age.TotalDays % 365.24 / 30).ToString() + " " + strings.months; 60 60 } 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.