Bug fix: conversion from floats to bytes and vice versa