Permalink
Browse files

Added convert_value_to_type => float

  • Loading branch information...
1 parent 255a366 commit 4f094e700ef7c4d996d4ff4e1739f5b312dd01b3 @jgordor jgordor committed Oct 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/boss_record_lib.erl
@@ -113,4 +113,6 @@ convert_value_to_type("false", boolean) -> false;
convert_value_to_type(1, boolean) -> true;
convert_value_to_type(0, boolean) -> false;
convert_value_to_type(true, boolean) -> true;
-convert_value_to_type(false, boolean) -> false.
+convert_value_to_type(false, boolean) -> false;
+
+convert_value_to_type(Val, float) -> Val.

0 comments on commit 4f094e7

Please sign in to comment.