# Sheet Number parameter returning a float?

**URL:** https://forum.dynamobim.com/t/sheet-number-parameter-returning-a-float/95314
**Category:** Revit
**Tags:** revit, api
**Created:** [November 8, 2023, 9:48am UTC](https://forum.dynamobim.com/t/sheet-number-parameter-returning-a-float/95314 "2023-11-08T09:48:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![haganjake2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/haganjake2/32/119069_2.png) [@haganjake2](https://forum.dynamobim.com/u/haganjake2)
#### Post date: [November 8, 2023, 9:48am UTC](https://forum.dynamobim.com/t/sheet-number-parameter-returning-a-float/95314/1 "2023-11-08T09:48:19Z")

</div>

Hi there,

I’ve recently upgraded to using Revit 2024 from Revit 2021 so I may have missed some major API changes. But last time I checked, the sheetnumber parameter, when read, should return a string representation of the sheet number in Revit.

Opening a script that worked fine in Revit 21, it now seems that Sheet.SheetNumber (however I read it) returns a float representation of my sheet number, converted into a string…

**Sheet in Revit:**  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/b/3b4896a596c4e482447ef5cdb2f467ab78bbb0e9.png)

**Sheet number read in Dynamo:**

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/1/71e62c036e935d92a2cabf9f7795a6670eec9c61.jpeg)

Is this normal? I cant see anything that alludes to this behaviour on API docs?

> **[SheetNumber Property](https://www.revitapidocs.com/2024/5f9129ba-b323-c55d-e27e-46d88bec503b.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)
#### Post date: [November 8, 2023, 10:12am UTC](https://forum.dynamobim.com/t/sheet-number-parameter-returning-a-float/95314/2 "2023-11-08T10:12:09Z")

</div>

This is a known bug with Dynamo at the moment - be assured the value is still an integer / string, just showing as a float

> <https://github.com/DynamoDS/Dynamo/issues/13861>
>
> If this issue is with Dynamo for Revit, please post your issue on the \[Dynamo fo…r Revit Issues page\](https://github.com/DynamoDS/DynamoRevit/issues).
> 
> If this issue is \*\*not\*\* a bug report or improvement request, please check the \[Dynamo forum\](https://forum.dynamobim.com/), and start a thread there to discuss your issue.
> 
> \## Dynamo version
> 2.18 Sanbox
> 
> \## Operating system
> 
> (e.g. Windows 7, Windows 8.1, etc)
> 
> \## What did you do? 
> 
> Create a number string include character \`,\` inside code block : "1,34"
> 
> !\[image\](https://user-images.githubusercontent.com/31106432/229030277-a4db9bf7-b00c-49ae-b4fc-b16758dba3cc.png)
> 
> \## What did you expect to see?
> 
> it will be help return correct : "1,34"
> 
> \## What did you see instead?
> 
> !\[image\](https://user-images.githubusercontent.com/31106432/229030606-1c62556f-c4bb-4b05-873b-95cfde0a4064.png)

---

<div class="post-metadata">

### Author: ![haganjake2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/haganjake2/32/119069_2.png) [@haganjake2](https://forum.dynamobim.com/u/haganjake2)
#### Post date: [November 8, 2023, 10:46am UTC](https://forum.dynamobim.com/t/sheet-number-parameter-returning-a-float/95314/3 "2023-11-08T10:46:15Z")

</div>

How very annoying.

Thanks for sharing.
