Splitting a double in two, C#
<p>I'm attempting to use a double to represent a bit of a dual-value type in a database that must sometimes accept two values, and sometimes accept only one (int). </p>

<p>So the field is a float in the database, and in my C# code, it is a double (since mapping it via EF makes it a double for some reason... )</p>

<p>So basically what I want to do .. let's say 2.5 is the value. I want to separate that out into 2, and 5. Is there any implicit way to go about this?</p>
