Skip to content

Commit

Permalink
cm instead of mm
Browse files Browse the repository at this point in the history
  • Loading branch information
syoung-smallwisdom committed Jun 6, 2016
1 parent 279deb8 commit 6c1307c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ + (NSArray *) medications {
// Convert the formatter unit to a HKUnit (default to centimeter)
NSArray *hkUnits = @[[HKUnit meterUnitWithMetricPrefix:HKMetricPrefixCenti]];
NSArray *formatterUnits = @[@(NSLengthFormatterUnitCentimeter)];
NSArray *maxValues = @[@(floor((8 * 12 + 11) * 25.4))];
NSArray *maxValues = @[@(floor((8 * 12 + 11) * 2.54))];
NSArray *builderUnits = hkUnits;

switch (formatterUnit) {
Expand Down

0 comments on commit 6c1307c

Please sign in to comment.