add a "pharoVersionString" to format properly versions (9.0 instead 90)
MODIFY
src/PharoLauncher-Core/PhLImage.class.st
src/PharoLauncher-Core/PhLImage.class.st
@@ -425,6 +425,12 @@ PhLImage >> pharoVersionFromFile [
ifFalse: [ '' ]
]
+{ #category : #accessing }
+PhLImage >> pharoVersionString [
+
+ ^ (self pharoVersion asNumber / 10.0) asFloat asString
+]
+
{ #category : #printing }
PhLImage >> printOn: aStream [
aStream

MODIFY
src/PharoLauncher-Spec2/PhLImagesPresenter.class.st
src/PharoLauncher-Spec2/PhLImagesPresenter.class.st
@@ -151,7 +151,7 @@ PhLImagesPresenter >> buildImageTable [
addColumn: ((SpStringTableColumn title: 'Architecture' evaluated: #architecture)
width: 80;
yourself);
- addColumn: ((SpStringTableColumn title: 'Pharo Version' evaluated: #pharoVersion)
+ addColumn: ((SpStringTableColumn title: 'Pharo Version' evaluated: #pharoVersionString)
width: 80;
yourself);
addColumn: ((SpStringTableColumn

add a "pharoVersionString" to format properly versions (9.0 instead 90)