<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/UnitConverter/value(fromBaseUnitValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUnitConverter(im)valueFromBaseUnitValue:"
  },
  "title" : "value(fromBaseUnitValue:)"
}
-->

# value(fromBaseUnitValue:)

For a given unit, returns the specified value of the base unit in terms of that unit.

```
func value(fromBaseUnitValue baseUnitValue: Double) -> Double
```

## Parameters

`baseUnitValue`

The value in terms of the base unit.

## Return Value

The value in terms of a given unit.

## Discussion

This method takes a value in the base unit of a unit’s dimension and returns the result of converting it into that unit. For example, a converter for the pounds unit calling this method, passing `2.20462` to the `baseUnitValue` parameter, results in `1.0` (*2.20462 lbs = 1 kg*).

---

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)