---
name: "f2c"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.0.0" }
title: "temperature"
---

## f2c

> [VERSION] @ray-js/panel-sdk >= 1.0.0

### Description

Convert Fahrenheit to Celsius

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `f` | `number` | Yes | Fahrenheit value |

### Return Value

None


### Examples

#### Basic usage

```ts
import { utils } from '@ray-js/panel-sdk';

const { f2c } = utils;

f2c(32);  // 0
f2c(212); // 100
f2c(99);  // 37
```

---
name: "c2f"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.0.0" }
title: "temperature"
---
## c2f

> [VERSION] @ray-js/panel-sdk >= 1.0.0

### Description

Convert Celsius to Fahrenheit

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `c` | `number` | Yes | Celsius value |

### Return Value

None


### Examples

#### Basic usage

```ts
import { utils } from '@ray-js/panel-sdk';

const { c2f } = utils;

c2f(0);   // 32
c2f(100); // 212
c2f(37);  // 99
```
