---
UID: NF:d2d1helper.FloatMax
title: FloatMax function (d2d1helper.h)
description: Returns the maximum floating-point value.
old-location: direct2d\floatmax.htm
tech.root: Direct2D
ms.assetid: 93f0e030-b913-4b3b-bee8-c52eb19c63ab
ms.date: 12/05/2018
ms.keywords: FloatMax, FloatMax function [Direct2D], d2d1helper/FloatMax, direct2d.floatmax
f1_keywords:
- d2d1helper/FloatMax
dev_langs:
- c++
req.header: d2d1helper.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D2d1.lib
req.dll: D2d1.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- DllExport
api_location:
- D2d1.dll
api_name:
- FloatMax
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# FloatMax function


## -description


Returns the maximum floating-point value.


## -parameters






## -returns



Type: <b>FLOAT</b>

The maximum floating-point value.



