diff --git a/src/app/demos/batching/page.tsx b/src/app/demos/batching/page.tsx index f009c154..4a3f830c 100644 --- a/src/app/demos/batching/page.tsx +++ b/src/app/demos/batching/page.tsx @@ -33,9 +33,9 @@ export default function BuilderPatternDemoPage() {
         
           {/* Aligning the decimals */}
-          Lat {latStr[0].padStart(4) + '.' + latStr[1]}
+          Lat {latStr[0].padStart(4) + '.' + (latStr[1] ?? '00')}
           {'\n'}
-          Lng {lngStr[0].padStart(4) + '.' + lngStr[1]}
+          Lng {lngStr[0].padStart(4) + '.' + (lngStr[1] ?? '00')}