---
title: Float - Storefront API
description: >-
  Represents signed double-precision fractional values as specified by [IEEE
  754](https://en.wikipedia.org/wiki/IEEE_floating_point).
api_version: 2026-04
api_name: storefront
type: scalar
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/scalars/Float'
  md: 'https://shopify.dev/docs/api/storefront/latest/scalars/Float.md'
---

# Float

scalar

Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).

## Map

### Fields with this scalar

* [Cart​Delivery​Address.latitude](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryAddress#field-CartDeliveryAddress.fields.latitude)
* [Cart​Delivery​Address.longitude](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryAddress#field-CartDeliveryAddress.fields.longitude)
* [Cart​Delivery​Coordinates​Preference.latitude](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryCoordinatesPreference#field-CartDeliveryCoordinatesPreference.fields.latitude)
* [Cart​Delivery​Coordinates​Preference.longitude](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryCoordinatesPreference#field-CartDeliveryCoordinatesPreference.fields.longitude)
* [Location​Address.latitude](https://shopify.dev/docs/api/storefront/latest/objects/LocationAddress#field-LocationAddress.fields.latitude)
* [Location​Address.longitude](https://shopify.dev/docs/api/storefront/latest/objects/LocationAddress#field-LocationAddress.fields.longitude)
* [Mailing​Address.latitude](https://shopify.dev/docs/api/storefront/latest/objects/MailingAddress#field-MailingAddress.fields.latitude)
* [Mailing​Address.longitude](https://shopify.dev/docs/api/storefront/latest/objects/MailingAddress#field-MailingAddress.fields.longitude)
* [Pricing​Percentage​Value.percentage](https://shopify.dev/docs/api/storefront/latest/objects/PricingPercentageValue#field-PricingPercentageValue.fields.percentage)
* [Product​Variant.weight](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant#field-ProductVariant.fields.weight)
* [Selling​Plan​Checkout​Charge​Percentage​Value.percentage](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlanCheckoutChargePercentageValue#field-SellingPlanCheckoutChargePercentageValue.fields.percentage)
* [Selling​Plan​Percentage​Price​Adjustment.adjustmentPercentage](https://shopify.dev/docs/api/storefront/latest/objects/SellingPlanPercentagePriceAdjustment#field-SellingPlanPercentagePriceAdjustment.fields.adjustmentPercentage)
* [Unit​Price​Measurement.quantityValue](https://shopify.dev/docs/api/storefront/latest/objects/UnitPriceMeasurement#field-UnitPriceMeasurement.fields.quantityValue)

### Inputs with this scalar

* [Cart​Delivery​Coordinates​Preference​Input.latitude](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryCoordinatesPreferenceInput#fields-latitude)
* [Cart​Delivery​Coordinates​Preference​Input.longitude](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryCoordinatesPreferenceInput#fields-longitude)
* [Geo​Coordinate​Input.latitude](https://shopify.dev/docs/api/storefront/latest/input-objects/GeoCoordinateInput#fields-latitude)
* [Geo​Coordinate​Input.longitude](https://shopify.dev/docs/api/storefront/latest/input-objects/GeoCoordinateInput#fields-longitude)
* [Price​Range​Filter.min](https://shopify.dev/docs/api/storefront/latest/input-objects/PriceRangeFilter#fields-min)
* [Price​Range​Filter.max](https://shopify.dev/docs/api/storefront/latest/input-objects/PriceRangeFilter#fields-max)
