Added dummy Data Attributes
Switched to use dummy Data Attributes instead of #if
moved float cast to be always used with message explaining why