<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/EnergyFormatter/isForFoodEnergyUse",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSEnergyFormatter(py)forFoodEnergyUse"
  },
  "title" : "isForFoodEnergyUse"
}
-->

# isForFoodEnergyUse

A Boolean value that indicates whether the energy value is used to measure food energy.

```
var isForFoodEnergyUse: Bool { get set }
```

## Discussion

Returns <doc://com.apple.documentation/documentation/Swift/true> if the energy is used to measure food energy; otherwise, <doc://com.apple.documentation/documentation/Swift/false>. If set to <doc://com.apple.documentation/documentation/Swift/true>, [`EnergyFormatter.Unit.kilocalorie`](/documentation/Foundation/EnergyFormatter/Unit/kilocalorie) may be represented using “C” instead of “kcal”. By default, this property returns <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)