Contrast with a record there is only one value at a time .
A record could be defined to contain a float and an integer ; whereas in a union .
Contrast with a record , which could be defined to contain a float and an integer ; whereas in a union , there is only one value at a time .