Skip to content

Commit ffa9a95

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: Turtle.get_Points
The get_Points property had not been handling E notation
1 parent d3a4e32 commit ffa9a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Turtle.types.ps1xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ $viewY = [Math]::Max($this.Maximum.Y, $this.Minimum.Y * -1)
259259
<ScriptProperty>
260260
<Name>Points</Name>
261261
<GetScriptBlock>
262-
$this.Steps -replace '[\w-[\d\.]]+' -split '\s+' -ne '' -as [double[]]
262+
$this.Steps -replace '[\w-[\d\.E\-]]+' -split '\s+' -ne '' -as [double[]]
263263
</GetScriptBlock>
264264
</ScriptProperty>
265265
<ScriptProperty>

0 commit comments

Comments
 (0)