memgraph/include/storage/model/properties/float.hpp
2016-08-10 09:39:02 +01:00

20 lines
364 B
C++

#pragma once
#include "storage/model/properties/floating.hpp"
#include "storage/model/properties/double.hpp"
class Float : public Floating<Float>
{
public:
static constexpr Flags type = Flags::Float;
Float(float value) : Floating(Flags::Float), value(value) {}
operator Double() const
{
return Double(value);
}
float value;
};